aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/c93.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:23:32 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 15:23:32 +0000
commit6f3e0b21748b53fd7b0471196bbda1d7e561f4fe (patch)
tree5130d5b49907a72bf1f16c7861ec3b891a3708e4 /libavformat/c93.c
parent769e10f0684c63aefb6fe36788f3e543312e185d (diff)
downloadffmpeg-6f3e0b21748b53fd7b0471196bbda1d7e561f4fe.tar.gz
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/c93.c')
-rw-r--r--libavformat/c93.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/c93.c b/libavformat/c93.c
index 419f28e42c..3bc6855c85 100644
--- a/libavformat/c93.c
+++ b/libavformat/c93.c
@@ -129,7 +129,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
}
if (c93->current_frame >= br->frames) {
if (c93->current_block >= 511 || !br[1].length)
- return AVERROR_IO;
+ return AVERROR(EIO);
br++;
c93->current_block++;
c93->current_frame = 0;
@@ -154,7 +154,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
ret = get_buffer(pb, pkt->data + 1, datasize);
if (ret < datasize) {
- ret = AVERROR_IO;
+ ret = AVERROR(EIO);
goto fail;
}
@@ -168,7 +168,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
pkt->data[0] |= C93_HAS_PALETTE;
ret = get_buffer(pb, pkt->data + pkt->size, datasize);
if (ret < datasize) {
- ret = AVERROR_IO;
+ ret = AVERROR(EIO);
goto fail;
}
pkt->size += 768;