[FFmpeg-cvslog] r20127 - trunk/libavformat/au.c

reimar subversion
Thu Oct 1 19:08:34 CEST 2009


Author: reimar
Date: Thu Oct  1 19:08:33 2009
New Revision: 20127

Log:
au demuxer: pass av_get_packet error on unchanged instead of converting to
AVERROR(EIO).

Modified:
   trunk/libavformat/au.c

Modified: trunk/libavformat/au.c
==============================================================================
--- trunk/libavformat/au.c	Thu Oct  1 18:10:09 2009	(r20126)
+++ trunk/libavformat/au.c	Thu Oct  1 19:08:33 2009	(r20127)
@@ -168,7 +168,7 @@ static int au_read_packet(AVFormatContex
         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



More information about the ffmpeg-cvslog mailing list