Mercurial > libavformat.hg
diff au.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 | 1a3c9056982a |
| children | 213268d7594e |
line wrap: on
line diff
--- a/au.c Thu Jul 19 15:21:30 2007 +0000 +++ b/au.c Thu Jul 19 15:23:32 2007 +0000 @@ -159,10 +159,10 @@ int ret; if (url_feof(&s->pb)) - return AVERROR_IO; + return AVERROR(EIO); ret= av_get_packet(&s->pb, pkt, MAX_SIZE); if (ret < 0) - return AVERROR_IO; + return AVERROR(EIO); pkt->stream_index = 0; /* note: we need to modify the packet size here to handle the last
