diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-07-19 15:23:32 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-07-19 15:23:32 +0000 |
commit | 6f3e0b21748b53fd7b0471196bbda1d7e561f4fe (patch) | |
tree | 5130d5b49907a72bf1f16c7861ec3b891a3708e4 /libavformat/txd.c | |
parent | 769e10f0684c63aefb6fe36788f3e543312e185d (diff) | |
download | ffmpeg-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/txd.c')
-rw-r--r-- | libavformat/txd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/txd.c b/libavformat/txd.c index 8843226681..6c17dff55a 100644 --- a/libavformat/txd.c +++ b/libavformat/txd.c @@ -61,10 +61,10 @@ next_chunk: marker = get_le32(pb); if (url_feof(&s->pb)) - return AVERROR_IO; + return AVERROR(EIO); if (marker != TXD_MARKER && marker != TXD_MARKER2) { av_log(NULL, AV_LOG_ERROR, "marker does not match\n"); - return AVERROR_IO; + return AVERROR(EIO); } switch (id) { @@ -78,13 +78,13 @@ next_chunk: goto next_chunk; default: av_log(NULL, AV_LOG_ERROR, "unknown chunk id %i\n", id); - return AVERROR_IO; + return AVERROR(EIO); } ret = av_get_packet(&s->pb, pkt, chunk_size); pkt->stream_index = 0; - return ret <= 0 ? AVERROR_IO : ret; + return ret <= 0 ? AVERROR(EIO) : ret; } static int txd_read_close(AVFormatContext *s) { |