projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c689ccc
)
Fix ffplay to keep calling av_read_frame even if EOF has been reached.
author
Michael Chinen
<mchinen@gmail.com>
Sat, 9 Oct 2010 17:50:17 +0000
(17:50 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Sat, 9 Oct 2010 17:50:17 +0000
(17:50 +0000)
Patch by Michael Chinen, mchinen gmail
Originally committed as revision 25426 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index df15f4890ebfdef9eaaafddc1898fce3b191853f..9927006afe071e932d660bd3f96ea568607a3aa9 100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-2605,7
+2605,7
@@
static int decode_thread(void *arg)
SDL_Delay(10);
continue;
}
- if(
url_feof(ic->pb) ||
eof) {
+ if(eof) {
if(is->video_stream >= 0){
av_init_packet(pkt);
pkt->data=NULL;
@@
-2626,7
+2626,7
@@
static int decode_thread(void *arg)
}
ret = av_read_frame(ic, pkt);
if (ret < 0) {
- if (ret == AVERROR_EOF)
+ if (ret == AVERROR_EOF
|| url_feof(ic->pb)
)
eof=1;
if (url_ferror(ic->pb))
break;