diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-06-19 03:59:34 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-06-19 03:59:34 +0000 |
commit | 0bd586c50dc27ec38ca94e58f50030544d729463 (patch) | |
tree | daa391f5efede8e58b88431b9b453dcbd1e6c2e0 /libavformat/asf.c | |
parent | cbf5374fc0f733cefe304fd4d11c7b0fa21fba61 (diff) | |
download | ffmpeg-0bd586c50dc27ec38ca94e58f50030544d729463.tar.gz |
sweeping change from -EIO -> AVERROR_IO
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r-- | libavformat/asf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index 5ab128e716..36a3aa119f 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -434,13 +434,13 @@ static int asf_get_packet(AVFormatContext *s) if (get_le16(pb) != 0) { if (!url_feof(pb)) av_log(s, AV_LOG_ERROR, "ff asf bad non zero\n"); - return -EIO; + return AVERROR_IO; } rsize+=2; /* }else{ if (!url_feof(pb)) printf("ff asf bad header %x at:%lld\n", c, url_ftell(pb)); - return -EIO;*/ + return AVERROR_IO;*/ } asf->packet_flags = get_byte(pb); @@ -490,7 +490,7 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt) ret = asf_get_packet(s); //printf("READ ASF PACKET %d r:%d c:%d\n", ret, asf->packet_size_left, pc++); if (ret < 0 || url_feof(pb)) - return -EIO; + return AVERROR_IO; asf->packet_time_start = 0; continue; } |