From 0bd586c50dc27ec38ca94e58f50030544d729463 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sat, 19 Jun 2004 03:59:34 +0000 Subject: sweeping change from -EIO -> AVERROR_IO Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/ipmovie.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/ipmovie.c') diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c index 6e6be1e9d5..017466d07c 100644 --- a/libavformat/ipmovie.c +++ b/libavformat/ipmovie.c @@ -34,7 +34,7 @@ /* debugging support: #define DEBUG_IPMOVIE as non-zero to see extremely * verbose information about the demux process */ -#define DEBUG_IPMOVIE 0 +#define DEBUG_IPMOVIE 1 #if DEBUG_IPMOVIE #define debug_ipmovie printf @@ -543,7 +543,7 @@ static int ipmovie_read_header(AVFormatContext *s, * it; if it is the first video chunk, this is a silent file */ if (get_buffer(pb, chunk_preamble, CHUNK_PREAMBLE_SIZE) != CHUNK_PREAMBLE_SIZE) - return -EIO; + return AVERROR_IO; chunk_type = LE_16(&chunk_preamble[2]); url_fseek(pb, -CHUNK_PREAMBLE_SIZE, SEEK_CUR); @@ -600,7 +600,7 @@ static int ipmovie_read_packet(AVFormatContext *s, if (ret == CHUNK_BAD) ret = AVERROR_INVALIDDATA; else if (ret == CHUNK_EOF) - ret = -EIO; + ret = AVERROR_IO; else if (ret == CHUNK_NOMEM) ret = AVERROR_NOMEM; else -- cgit v1.2.3