projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454f98b
)
avformat/img2dec: fix error code at EOF for pipes
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 25 Sep 2014 13:12:27 +0000
(15:12 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 25 Sep 2014 13:22:42 +0000
(15:22 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/img2dec.c
patch
|
blob
|
history
diff --git
a/libavformat/img2dec.c
b/libavformat/img2dec.c
index
a21429f
..
ad77812
100644
(file)
--- a/
libavformat/img2dec.c
+++ b/
libavformat/img2dec.c
@@
-422,7
+422,7
@@
int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt)
} else {
f[0] = s1->pb;
if (avio_feof(f[0]))
- return AVERROR
(EIO)
;
+ return AVERROR
_EOF
;
if (s->frame_size > 0) {
size[0] = s->frame_size;
} else if (!s1->streams[0]->parser) {