diff flacdec.c @ 5834:134741dc8327 libavformat

Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and mark AVERROR_EIO for deletion at the next major bump.
author stefano
date Sat, 13 Mar 2010 19:19:44 +0000
parents b9f21d75c81a
children 121d6994c20e
line wrap: on
line diff
--- a/flacdec.c	Sat Mar 13 05:55:57 2010 +0000
+++ b/flacdec.c	Sat Mar 13 19:19:44 2010 +0000
@@ -70,7 +70,7 @@
             }
             if (get_buffer(s->pb, buffer, metadata_size) != metadata_size) {
                 av_freep(&buffer);
-                return AVERROR_IO;
+                return AVERROR(EIO);
             }
             break;
         /* skip metadata block for unsupported types */