Reset eof state on seeking.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Apr 2009 18:02:21 +0000 (18:02 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Apr 2009 18:02:21 +0000 (18:02 +0000)
Fixes issue1005.

Originally committed as revision 18710 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 77677b4..cc12b4a 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2063,6 +2063,7 @@ static int decode_thread(void *arg)
                 }
             }
             is->seek_req = 0;
+            eof= 0;
         }
 
         /* if the queue are full, no need to read more */