diff mpeg.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 fa17c3c6e546
children aac77d24706f
line wrap: on
line diff
--- a/mpeg.c	Thu Jul 19 15:21:30 2007 +0000
+++ b/mpeg.c	Thu Jul 19 15:23:32 2007 +0000
@@ -232,7 +232,7 @@
         last_sync = url_ftell(&s->pb);
     //printf("startcode=%x pos=0x%"PRIx64"\n", startcode, url_ftell(&s->pb));
     if (startcode < 0)
-        return AVERROR_IO;
+        return AVERROR(EIO);
     if (startcode == PACK_START_CODE)
         goto redo;
     if (startcode == SYSTEM_HEADER_START_CODE)