Browse code

Reset eof state on seeking. Fixes issue1005.

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

Michael Niedermayer authored on 2009/04/29 03:02:21
Showing 1 changed files
... ...
@@ -2063,6 +2063,7 @@ static int decode_thread(void *arg)
2063 2063
                 }
2064 2064
             }
2065 2065
             is->seek_req = 0;
2066
+            eof= 0;
2066 2067
         }
2067 2068
 
2068 2069
         /* if the queue are full, no need to read more */