|
|
@@ -1463,7 +1463,7 @@ static int decode_thread(void *arg) |
|
|
} |
|
|
} |
|
|
ret = av_read_frame(ic, pkt); |
|
|
ret = av_read_frame(ic, pkt); |
|
|
if (ret < 0) { |
|
|
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 */ |
|
|
SDL_Delay(100); /* wait for user event */ |
|
|
continue; |
|
|
continue; |
|
|
} else |
|
|
} else |
|
|
|