OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f63f24
)
flvdec: pass on proper error value.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Tue, 1 May 2012 18:00:30 +0000
(20:00 +0200)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Tue, 1 May 2012 21:20:52 +0000
(23:20 +0200)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavformat/flvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/flvdec.c
b/libavformat/flvdec.c
index
8fce605
..
9f45447
100644
(file)
--- a/
libavformat/flvdec.c
+++ b/
libavformat/flvdec.c
@@
-653,9
+653,8
@@
static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
}
ret= av_get_packet(s->pb, pkt, size);
- if (ret < 0) {
- return AVERROR(EIO);
- }
+ if (ret < 0)
+ return ret;
pkt->dts = dts;
pkt->pts = pts == AV_NOPTS_VALUE ? dts : pts;
pkt->stream_index = st->index;