diff wv.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 7eb456c4ed8a
children 85ed1e2ce41e
line wrap: on
line diff
--- a/wv.c	Thu Jul 19 15:21:30 2007 +0000
+++ b/wv.c	Thu Jul 19 15:23:32 2007 +0000
@@ -182,7 +182,7 @@
     ret = get_buffer(&s->pb, pkt->data + WV_EXTRA_SIZE, wc->blksize);
     if(ret != wc->blksize){
         av_free_packet(pkt);
-        return AVERROR_IO;
+        return AVERROR(EIO);
     }
     pkt->stream_index = 0;
     wc->block_parsed = 1;