Commit 92dfeb5c authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/wtvdec: Set AVFMTCTX_NOHEADER

Needed for noStreams.wtv unless something else forces continued parsing (like looking for more than 1
frame in attachments)
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 959c7dad
......@@ -1005,6 +1005,8 @@ static int read_header(AVFormatContext *s)
wtvfile_close(pb);
}
s->ctx_flags |= AVFMTCTX_NOHEADER; // Needed for noStreams.wtv
/* read seek index */
if (s->nb_streams) {
AVStream *st = s->streams[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment