diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c index 2720f651d6..56fc0f5167 100644 --- a/libavformat/webvttdec.c +++ b/libavformat/webvttdec.c @@ -95,6 +95,8 @@ static int webvtt_read_header(AVFormatContext *s) /* ignore header chunk */ if (!strncmp(p, "\xEF\xBB\xBFWEBVTT", 9) || !strncmp(p, "WEBVTT", 6) || + !strncmp(p, "STYLE", 5) || + !strncmp(p, "REGION", 6) || !strncmp(p, "NOTE", 4)) continue;