Mercurial > libavformat.hg
diff mpegts.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 | 6831f12fbf76 |
children | c226029c8df4 |
line wrap: on
line diff
--- a/mpegts.c Thu Jul 19 15:21:30 2007 +0000 +++ b/mpegts.c Thu Jul 19 15:23:32 2007 +0000 @@ -1014,7 +1014,7 @@ for(;;) { len = get_buffer(pb, buf, TS_PACKET_SIZE); if (len != TS_PACKET_SIZE) - return AVERROR_IO; + return AVERROR(EIO); /* check paquet sync byte */ if (buf[0] != 0x47) { /* find a new packet start */