[SCM] libav/experimental: au demuxer: pass av_get_packet error on unchanged instead of converting to AVERROR(EIO).
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:52:21 UTC 2013
The following commit has been merged in the experimental branch:
commit b46c98bf66d41030ccf59f0bb876bab8dd128134
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Thu Oct 1 17:08:33 2009 +0000
au demuxer: pass av_get_packet error on unchanged instead of converting to
AVERROR(EIO).
Originally committed as revision 20127 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/au.c b/libavformat/au.c
index cc243ea..3b8faae 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -168,7 +168,7 @@ static int au_read_packet(AVFormatContext *s,
return AVERROR(EIO);
ret= av_get_packet(s->pb, pkt, MAX_SIZE);
if (ret < 0)
- return AVERROR(EIO);
+ return ret;
pkt->stream_index = 0;
/* note: we need to modify the packet size here to handle the last
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list