diff apc.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/apc.c	Thu Jul 19 15:21:30 2007 +0000
+++ b/apc.c	Thu Jul 19 15:23:32 2007 +0000
@@ -75,7 +75,7 @@
 static int apc_read_packet(AVFormatContext *s, AVPacket *pkt)
 {
     if (av_get_packet(&s->pb, pkt, MAX_READ_SIZE) <= 0)
-        return AVERROR_IO;
+        return AVERROR(EIO);
     pkt->stream_index = 0;
     return 0;
 }