diff ape.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 28094e9bd013
children 536e5527c1e0
line wrap: on
line diff
--- a/ape.c	Sat Mar 13 05:55:57 2010 +0000
+++ b/ape.c	Sat Mar 13 19:19:44 2010 +0000
@@ -338,9 +338,9 @@
     uint32_t extra_size = 8;
 
     if (url_feof(s->pb))
-        return AVERROR_IO;
+        return AVERROR(EIO);
     if (ape->currentframe > ape->totalframes)
-        return AVERROR_IO;
+        return AVERROR(EIO);
 
     url_fseek (s->pb, ape->frames[ape->currentframe].pos, SEEK_SET);