workaround missuse of url_feof()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Jan 2005 18:21:14 +0000 (18:21 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Jan 2005 18:21:14 +0000 (18:21 +0000)
Originally committed as revision 3804 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 5d95df5..292ac33 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1317,6 +1317,7 @@ static int decode_thread(void *arg)
             ret = -1;
             goto fail;
         }
+        ic->pb.eof_reached= 0; //FIXME hack, ffplay maybe shouldnt use url_feof() to test for the end
     }
 
     /* if seeking requested, we execute it */