Skip to content
Snippets Groups Projects
Commit 92dfeb5c authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 959c7dad
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment