diff avisynth.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 0899bfe4105c
children 7a0230981402
line wrap: on
line diff
--- a/avisynth.c	Thu Jul 19 15:21:30 2007 +0000
+++ b/avisynth.c	Thu Jul 19 15:23:32 2007 +0000
@@ -156,10 +156,10 @@
   stream = &avs->streams[stream_id];
 
   if (stream->read >= stream->info.dwLength)
-    return AVERROR_IO;
+    return AVERROR(EIO);
 
   if (av_new_packet(pkt, stream->chunck_size))
-    return AVERROR_IO;
+    return AVERROR(EIO);
   pkt->stream_index = stream_id;
   pkt->pts = avs->streams[stream_id].read / avs->streams[stream_id].chunck_samples;