Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wtvdec.c')
-rw-r--r--libavformat/wtvdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index 16f1ef7b9c..1c3aa26f4a 100644
--- a/libavformat/wtvdec.c
+++ b/libavformat/wtvdec.c
@@ -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];