mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 22:10:34 +00:00
wav: return av_get_packet errors unchanged.
Originally committed as revision 20142 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4bd7cb8be2
commit
e581b6288f
@ -268,8 +268,8 @@ static int wav_read_packet(AVFormatContext *s,
|
||||
}
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user