sierravmd: signal EOF

This commit is contained in:
Piotr Bandurski 2012-11-21 10:38:52 +00:00 committed by Paul B Mahol
parent e94f429474
commit 4bf3bc6f96

View 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) */