Browse Source

sierravmd: signal EOF

tags/n1.1
Piotr Bandurski Paul B Mahol 13 years ago
parent
commit
4bf3bc6f96
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/sierravmd.c

+ 1
- 1
libavformat/sierravmd.c View File

@@ -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…
Cancel
Save