summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-28 18:02:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-28 18:02:21 +0000
commite45aeb38a617ed378f34fb400a1015a5895bfc05 (patch)
tree135cac49270cca33314a4ddbed6f1da6c96ecf1c /ffplay.c
parent5efccce2a9191ded328233ab68a0767661a26679 (diff)
Reset eof state on seeking.
Fixes issue1005. Originally committed as revision 18710 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
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 */