diff aviobuf.c @ 482:0fdc96c2f2fe libavformat

sweeping change from -EIO -> AVERROR_IO
author melanson
date Sat, 19 Jun 2004 03:59:34 +0000
parents a35263593560
children 813b0119a98e
line wrap: on
line diff
--- a/aviobuf.c	Fri Jun 18 03:03:32 2004 +0000
+++ b/aviobuf.c	Sat Jun 19 03:59:34 2004 +0000
@@ -473,7 +473,7 @@
                       (h->flags & URL_WRONLY || h->flags & URL_RDWR), h,
                       url_read_packet, url_write_packet, url_seek_packet) < 0) {
         av_free(buffer);
-        return -EIO;
+        return AVERROR_IO;
     }
     s->is_streamed = h->is_streamed;
     s->max_packet_size = max_packet_size;