Replace all occurrences of AVERROR_IO with AVERROR(EIO).

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Panagiotis Issaris
2007-07-19 15:23:32 +00:00
parent 769e10f068
commit 6f3e0b2174
67 changed files with 251 additions and 251 deletions
+2 -2
View File
@@ -148,7 +148,7 @@ static int mpc_read_packet(AVFormatContext *s, AVPacket *pkt)
c->curbits = (curbits + size2) & 0x1F;
if (av_new_packet(pkt, size) < 0)
return AVERROR_IO;
return AVERROR(EIO);
pkt->data[0] = curbits;
pkt->data[1] = (c->curframe > c->fcount);
@@ -160,7 +160,7 @@ static int mpc_read_packet(AVFormatContext *s, AVPacket *pkt)
url_fseek(&s->pb, -4, SEEK_CUR);
if(ret < size){
av_free_packet(pkt);
return AVERROR_IO;
return AVERROR(EIO);
}
pkt->size = ret + 4;