Mercurial > libavformat.hg
diff mpc.c @ 2274:b21c2af60bc9 libavformat
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
author | takis |
---|---|
date | Thu, 19 Jul 2007 15:23:32 +0000 |
parents | 7eb456c4ed8a |
children | d52c718e83f9 |
line wrap: on
line diff
--- a/mpc.c Thu Jul 19 15:21:30 2007 +0000 +++ b/mpc.c Thu Jul 19 15:23:32 2007 +0000 @@ -148,7 +148,7 @@ 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 @@ url_fseek(&s->pb, -4, SEEK_CUR); if(ret < size){ av_free_packet(pkt); - return AVERROR_IO; + return AVERROR(EIO); } pkt->size = ret + 4;