mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 10:00:08 +01:00
sierravmd: signal EOF
This commit is contained in:
committed by
Paul B Mahol
parent
e94f429474
commit
4bf3bc6f96
@@ -247,7 +247,7 @@ static int vmd_read_packet(AVFormatContext *s,
|
|||||||
vmd_frame *frame;
|
vmd_frame *frame;
|
||||||
|
|
||||||
if (vmd->current_frame >= vmd->frame_count)
|
if (vmd->current_frame >= vmd->frame_count)
|
||||||
return AVERROR(EIO);
|
return AVERROR_EOF;
|
||||||
|
|
||||||
frame = &vmd->frame_table[vmd->current_frame];
|
frame = &vmd->frame_table[vmd->current_frame];
|
||||||
/* position the stream (will probably be there already) */
|
/* position the stream (will probably be there already) */
|
||||||
|
|||||||
Reference in New Issue
Block a user