Mercurial > libavformat.hg
diff ogg2.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 | 214978878a19 |
line wrap: on
line diff
--- a/ogg2.c Thu Jul 19 15:21:30 2007 +0000 +++ b/ogg2.c Thu Jul 19 15:23:32 2007 +0000 @@ -540,7 +540,7 @@ //Get an ogg packet do{ if (ogg_packet (s, &idx, &pstart, &psize) < 0) - return AVERROR_IO; + return AVERROR(EIO); }while (idx < 0 || !s->streams[idx]); ogg = s->priv_data; @@ -548,7 +548,7 @@ //Alloc a pkt if (av_new_packet (pkt, psize) < 0) - return AVERROR_IO; + return AVERROR(EIO); pkt->stream_index = idx; memcpy (pkt->data, os->buf + pstart, psize); if (os->lastgp != -1LL){