aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wav.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-06-19 03:59:34 +0000
committerMike Melanson <mike@multimedia.cx>2004-06-19 03:59:34 +0000
commit0bd586c50dc27ec38ca94e58f50030544d729463 (patch)
treedaa391f5efede8e58b88431b9b453dcbd1e6c2e0 /libavformat/wav.c
parentcbf5374fc0f733cefe304fd4d11c7b0fa21fba61 (diff)
downloadffmpeg-0bd586c50dc27ec38ca94e58f50030544d729463.tar.gz
sweeping change from -EIO -> AVERROR_IO
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r--libavformat/wav.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 1d18098339..474799a519 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -311,7 +311,7 @@ static int wav_read_packet(AVFormatContext *s,
AVStream *st;
if (url_feof(&s->pb))
- return -EIO;
+ return AVERROR_IO;
st = s->streams[0];
size = MAX_SIZE;
@@ -321,7 +321,7 @@ static int wav_read_packet(AVFormatContext *s,
size = (size / st->codec.block_align) * st->codec.block_align;
}
if (av_new_packet(pkt, size))
- return -EIO;
+ return AVERROR_IO;
pkt->stream_index = 0;
ret = get_buffer(&s->pb, pkt->data, pkt->size);