Browse Source

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
tags/v0.5
Andy Parkins Michael Niedermayer 20 years ago
parent
commit
22e50022f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffplay.c

+ 1
- 1
ffplay.c View File

@@ -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


Loading…
Cancel
Save