changeset 5246:dc7045701f0e libavformat

au demuxer: pass av_get_packet error on unchanged instead of converting to AVERROR(EIO).
author reimar
date Thu, 01 Oct 2009 17:08:33 +0000
parents 30c093f11b4e
children 3e401281ff93
files au.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/au.c	Thu Oct 01 16:10:09 2009 +0000
+++ b/au.c	Thu Oct 01 17:08:33 2009 +0000
@@ -168,7 +168,7 @@
         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