author | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> |
Sat, 04 Jan 2014 02:18:57 +0100 | |
branch | 0.9.20 |
changeset 9903 | dae338c8c19c |
parent 9901 | e33178322a8f |
child 9905 | ec0d9f737449 |
--- a/hedgewars/avwrapper/avwrapper.c Sat Jan 04 02:18:57 2014 +0100 +++ b/hedgewars/avwrapper/avwrapper.c Sat Jan 04 02:18:57 2014 +0100 @@ -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;