c93: signal EOF
authorPiotr Bandurski <ami_stuff@o2.pl>
Sat, 24 Nov 2012 15:04:32 +0000 (15:04 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sat, 24 Nov 2012 15:04:32 +0000 (15:04 +0000)
libavformat/c93.c

index 66516e9..93a61be 100644 (file)
@@ -133,7 +133,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
     }
     if (c93->current_frame >= br->frames) {
         if (c93->current_block >= 511 || !br[1].length)
-            return AVERROR(EIO);
+            return AVERROR_EOF;
         br++;
         c93->current_block++;
         c93->current_frame = 0;