ffplay seeking because url_feof() not working patch by (Andy Parkins: andyparkins...
authorAndy Parkins <andrew.parkins@360visiontechnology.com>
Tue, 28 Jun 2005 08:35:38 +0000 (08:35 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Jun 2005 08:35:38 +0000 (08:35 +0000)
Originally committed as revision 4404 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 9ad216b..e58f20d 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1463,7 +1463,7 @@ static int decode_thread(void *arg)
         }
         ret = av_read_frame(ic, pkt);
         if (ret < 0) {
-           if (url_feof(&ic->pb) && url_ferror(&ic->pb) == 0) {
+           if (url_ferror(&ic->pb) == 0) {
                 SDL_Delay(100); /* wait for user event */
                continue;
            } else