author | Vittorio Giovara <vittorio.giovara@gmail.com> |
Fri, 03 Jan 2014 07:50:42 -0800 | |
changeset 9931 | 409d991a59e8 |
parent 9927 | 22bb4dfbfea8 (current diff) |
parent 9929 | 01609dac9d79 (diff) |
child 9933 | 792ce11d1927 |
--- a/hedgewars/avwrapper/avwrapper.c Fri Jan 03 07:19:04 2014 -0800 +++ b/hedgewars/avwrapper/avwrapper.c Fri Jan 03 07:50:42 2014 -0800 @@ -500,7 +500,7 @@ { do ret = WriteFrame(NULL); - while (ret); + while (ret >= 0); if (ret < 0) return ret; } @@ -509,7 +509,7 @@ { ret = WriteAudioFrame(); } - while(ret); + while(ret >= 0); if (ret < 0) return ret;