summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorAndy Parkins <andrew.parkins@360visiontechnology.com>2005-06-28 08:35:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-06-28 08:35:38 +0000
commit22e50022f22716f1979ba8bf0c81423d72590952 (patch)
tree64fc4e2578dbe5a58f9aac0b4cb208ee4c25e7a8 /ffplay.c
parent3f46995ca577a3e122c43eaf2c7305cd20444be0 (diff)
ffplay seeking because url_feof() not working patch by (Andy Parkins: andyparkins, gmail com)
Originally committed as revision 4404 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 9ad216b960..e58f20dcaa 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1463,7 +1463,7 @@ static int decode_thread(void *arg)
}
ret = av_read_frame(ic, pkt);
if (ret < 0) {
- if (url_feof(&ic->pb) && url_ferror(&ic->pb) == 0) {
+ if (url_ferror(&ic->pb) == 0) {
SDL_Delay(100); /* wait for user event */
continue;
} else