avformat/webvttdec: Skip more parts of header to let parsing continue
Signed-off-by: Kristoffer Brånemyr <ztion1@yahoo.se> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
41ab25cb2d
commit
51d303e20c
|
@ -95,6 +95,8 @@ static int webvtt_read_header(AVFormatContext *s)
|
||||||
/* ignore header chunk */
|
/* ignore header chunk */
|
||||||
if (!strncmp(p, "\xEF\xBB\xBFWEBVTT", 9) ||
|
if (!strncmp(p, "\xEF\xBB\xBFWEBVTT", 9) ||
|
||||||
!strncmp(p, "WEBVTT", 6) ||
|
!strncmp(p, "WEBVTT", 6) ||
|
||||||
|
!strncmp(p, "STYLE", 5) ||
|
||||||
|
!strncmp(p, "REGION", 6) ||
|
||||||
!strncmp(p, "NOTE", 4))
|
!strncmp(p, "NOTE", 4))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue