mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user