diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-13 19:19:44 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-13 19:19:44 +0000 |
commit | 5ae092ee34bd8a174306abdd5cd8bf6eea4a2f8e (patch) | |
tree | 3934504fcfafd53f9c045fc0cf5b710bb8ee63f9 /libavformat/ape.c | |
parent | 0edfa79b23163be51d3ee1678f5ff87b5207f636 (diff) | |
download | ffmpeg-5ae092ee34bd8a174306abdd5cd8bf6eea4a2f8e.tar.gz |
Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and mark
AVERROR_EIO for deletion at the next major bump.
Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ape.c')
-rw-r--r-- | libavformat/ape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ape.c b/libavformat/ape.c index a881138431..b5f93cf134 100644 --- a/libavformat/ape.c +++ b/libavformat/ape.c @@ -338,9 +338,9 @@ static int ape_read_packet(AVFormatContext * s, AVPacket * pkt) uint32_t extra_size = 8; if (url_feof(s->pb)) - return AVERROR_IO; + return AVERROR(EIO); if (ape->currentframe > ape->totalframes) - return AVERROR_IO; + return AVERROR(EIO); url_fseek (s->pb, ape->frames[ape->currentframe].pos, SEEK_SET); |