sierravmd: signal EOF
authorPiotr Bandurski <ami_stuff@o2.pl>
Wed, 21 Nov 2012 10:38:52 +0000 (10:38 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 21 Nov 2012 10:38:52 +0000 (10:38 +0000)
libavformat/sierravmd.c

index f8a638a..b0b582d 100644 (file)
@@ -247,7 +247,7 @@ static int vmd_read_packet(AVFormatContext *s,
     vmd_frame *frame;
 
     if (vmd->current_frame >= vmd->frame_count)
-        return AVERROR(EIO);
+        return AVERROR_EOF;
 
     frame = &vmd->frame_table[vmd->current_frame];
     /* position the stream (will probably be there already) */