mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
sierravmd: signal EOF
This commit is contained in:
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) */
|
||||||
|
Loading…
Reference in New Issue
Block a user