summaryrefslogtreecommitdiff
path: root/libavformat/au.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-01 17:08:33 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-01 17:08:33 +0000
commitb46c98bf66d41030ccf59f0bb876bab8dd128134 (patch)
tree6710d74a856b24fab9e12e77433f5b0d9996649a /libavformat/au.c
parentc67031e7cfb21d6b1024d776a5d343ad22eb7c73 (diff)
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
Diffstat (limited to 'libavformat/au.c')
-rw-r--r--libavformat/au.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/au.c b/libavformat/au.c
index cc243ea483..3b8faae272 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