diff aviobuf.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 676463c51735
children df67ee47f76d
line wrap: on
line diff
--- a/aviobuf.c	Thu Jul 19 15:21:30 2007 +0000
+++ b/aviobuf.c	Thu Jul 19 15:23:32 2007 +0000
@@ -514,7 +514,7 @@
                       (h->flags & URL_WRONLY || h->flags & URL_RDWR), h,
                       url_read_packet, url_write_packet, url_seek_packet) < 0) {
         av_free(buffer);
-        return AVERROR_IO;
+        return AVERROR(EIO);
     }
     s->is_streamed = h->is_streamed;
     s->max_packet_size = max_packet_size;