mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-11 06:58:18 +00:00
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: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
959c7dad88
commit
92dfeb5c31
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user