From 6f3e0b21748b53fd7b0471196bbda1d7e561f4fe Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 19 Jul 2007 15:23:32 +0000 Subject: Replace all occurrences of AVERROR_IO with AVERROR(EIO). Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/aiff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/aiff.c') diff --git a/libavformat/aiff.c b/libavformat/aiff.c index 9f476cb..6f1d9cd 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -64,7 +64,7 @@ static int get_tag(ByteIOContext *pb, uint32_t * tag) int size; if (url_feof(pb)) - return AVERROR_IO; + return AVERROR(EIO); *tag = get_le32(pb); size = get_be32(pb); @@ -400,7 +400,7 @@ static int aiff_read_packet(AVFormatContext *s, /* End of stream may be reached */ if (url_feof(&s->pb)) - return AVERROR_IO; + return AVERROR(EIO); /* Now for that packet */ res = av_get_packet(&s->pb, pkt, (MAX_SIZE / st->codec->block_align) * st->codec->block_align); -- cgit v1.1