OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9602e
)
FFplay: Stop processing input file when AVERROR_EOF is returned from av_read_frame()
author
Peter Ross
<pross@xvid.org>
Thu, 19 Feb 2009 12:21:09 +0000
(12:21 +0000)
committer
Peter Ross
<pross@xvid.org>
Thu, 19 Feb 2009 12:21:09 +0000
(12:21 +0000)
Originally committed as revision 17458 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
4785f2d
..
964408b
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-2098,7
+2098,7
@@
static int decode_thread(void *arg)
}
ret = av_read_frame(ic, pkt);
if (ret < 0) {
- if (url_ferror(ic->pb) == 0) {
+ if (
ret != AVERROR_EOF &&
url_ferror(ic->pb) == 0) {
SDL_Delay(100); /* wait for user event */
continue;
} else