You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
@@ -1005,6 +1005,8 @@ static int read_header(AVFormatContext *s)
|
|||||||
wtvfile_close(pb);
|
wtvfile_close(pb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s->ctx_flags |= AVFMTCTX_NOHEADER; // Needed for noStreams.wtv
|
||||||
|
|
||||||
/* read seek index */
|
/* read seek index */
|
||||||
if (s->nb_streams) {
|
if (s->nb_streams) {
|
||||||
AVStream *st = s->streams[0];
|
AVStream *st = s->streams[0];
|
||||||
|
Reference in New Issue
Block a user