diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-06-19 07:59:34 +0400 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-06-19 07:59:34 +0400 |
commit | 0bd586c50dc27ec38ca94e58f50030544d729463 (patch) | |
tree | daa391f5efede8e58b88431b9b453dcbd1e6c2e0 /libavformat/amr.c | |
parent | cbf5374fc0f733cefe304fd4d11c7b0fa21fba61 (diff) |
sweeping change from -EIO -> AVERROR_IO
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/amr.c')
-rw-r--r-- | libavformat/amr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index 760eb995ae..2a7f6d0bcb 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -140,7 +140,7 @@ static int amr_read_packet(AVFormatContext *s, if (url_feof(&s->pb)) { - return -EIO; + return AVERROR_IO; } toc=get_byte(&s->pb); @@ -151,7 +151,7 @@ static int amr_read_packet(AVFormatContext *s, if (av_new_packet(pkt, size+1)) { - return -EIO; + return AVERROR_IO; } pkt->stream_index = 0; @@ -162,7 +162,7 @@ static int amr_read_packet(AVFormatContext *s, if (read != size) { av_free_packet(pkt); - return -EIO; + return AVERROR_IO; } return 0; @@ -176,7 +176,7 @@ static int amr_read_packet(AVFormatContext *s, if (url_feof(&s->pb)) { - return -EIO; + return AVERROR_IO; } toc=get_byte(&s->pb); @@ -185,7 +185,7 @@ static int amr_read_packet(AVFormatContext *s, if ( (size==0) || av_new_packet(pkt, size)) { - return -EIO; + return AVERROR_IO; } pkt->stream_index = 0; @@ -196,14 +196,14 @@ static int amr_read_packet(AVFormatContext *s, if (read != (size-1)) { av_free_packet(pkt); - return -EIO; + return AVERROR_IO; } return 0; } else { - return -EIO; + return AVERROR_IO; } } |