[FFmpeg-cvslog] r20142 - trunk/libavformat/wav.c
reimar
subversion
Fri Oct 2 09:22:44 CEST 2009
Author: reimar
Date: Fri Oct 2 09:22:44 2009
New Revision: 20142
Log:
wav: return av_get_packet errors unchanged.
Modified:
trunk/libavformat/wav.c
Modified: trunk/libavformat/wav.c
==============================================================================
--- trunk/libavformat/wav.c Fri Oct 2 09:19:21 2009 (r20141)
+++ trunk/libavformat/wav.c Fri Oct 2 09:22:44 2009 (r20142)
@@ -268,8 +268,8 @@ static int wav_read_packet(AVFormatConte
}
size = FFMIN(size, left);
ret = av_get_packet(s->pb, pkt, size);
- if (ret <= 0)
- return AVERROR(EIO);
+ if (ret < 0)
+ return ret;
pkt->stream_index = 0;
return ret;
More information about the ffmpeg-cvslog
mailing list