[FFmpeg-cvslog] sierravmd: signal EOF

Piotr Bandurski git at videolan.org
Wed Nov 21 11:43:36 CET 2012


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Nov 21 10:38:52 2012 +0000| [4bf3bc6f96cfbf68191625ade624ac97595de781] | committer: Paul B Mahol

sierravmd: signal EOF

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4bf3bc6f96cfbf68191625ade624ac97595de781
---

 libavformat/sierravmd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index f8a638a..b0b582d 100644
--- a/libavformat/sierravmd.c
+++ b/libavformat/sierravmd.c
@@ -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) */



More information about the ffmpeg-cvslog mailing list