diff soxdec.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 4211f91f69b1
children 536e5527c1e0
line wrap: on
line diff
--- a/soxdec.c	Sat Mar 13 05:55:57 2010 +0000
+++ b/soxdec.c	Sat Mar 13 19:19:44 2010 +0000
@@ -97,7 +97,7 @@
         char *comment = av_malloc(comment_size+1);
         if (get_buffer(pb, comment, comment_size) != comment_size) {
             av_freep(&comment);
-            return AVERROR_IO;
+            return AVERROR(EIO);
         }
         comment[comment_size] = 0;