From 22e50022f22716f1979ba8bf0c81423d72590952 Mon Sep 17 00:00:00 2001 From: Andy Parkins Date: Tue, 28 Jun 2005 08:35:38 +0000 Subject: 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 --- ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffplay.c') 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 -- cgit v1.2.3