aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sierravmd.c
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-11-21 10:38:52 +0000
committerPaul B Mahol <onemda@gmail.com>2012-11-21 10:38:52 +0000
commit4bf3bc6f96cfbf68191625ade624ac97595de781 (patch)
treee56d42fa34ce7d296eab6a1a12f0d798e4830ac2 /libavformat/sierravmd.c
parente94f4294746d50ef7b25993fa59a9be32023d3bb (diff)
downloadffmpeg-4bf3bc6f96cfbf68191625ade624ac97595de781.tar.gz
sierravmd: signal EOF
Diffstat (limited to 'libavformat/sierravmd.c')
-rw-r--r--libavformat/sierravmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index f8a638a67a..b0b582d719 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) */