From e45aeb38a617ed378f34fb400a1015a5895bfc05 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 28 Apr 2009 18:02:21 +0000 Subject: [PATCH] Reset eof state on seeking. Fixes issue1005. Originally committed as revision 18710 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffplay.c b/ffplay.c index 77677b4b1b..cc12b4a97d 100644 --- 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 */