hedgewars/avwrapper/avwrapper.c
changeset 11348 44248a9cdcac
parent 11347 f830c080aa9d
child 11349 dc17a495ee7f
--- a/hedgewars/avwrapper/avwrapper.c	Tue Nov 10 13:53:10 2015 +0100
+++ b/hedgewars/avwrapper/avwrapper.c	Tue Nov 10 13:53:12 2015 +0100
@@ -508,7 +508,7 @@
     {
         do
             ret = WriteFrame(NULL);
-        while (ret >= 0);
+        while (ret > 0);
         if (ret < 0)
             return ret;
     }
@@ -517,7 +517,7 @@
     {
         ret = WriteAudioFrame();
     }
-    while(ret >= 0);
+    while(ret > 0);
     if (ret < 0)
         return ret;