From edb4f5da8125553e8ee94235a5f560cde5309f61 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 4 Dec 2016 23:27:54 -0300 Subject: [PATCH] avformat/matroskadec: remove the strict unofficial check for Colour elements Signed-off-by: James Almer --- libavformat/matroskadec.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 4db6879e05..58731aaaba 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2422,12 +2422,9 @@ static int matroska_parse_tracks(AVFormatContext *s) return ret; } - if (s->strict_std_compliance <= FF_COMPLIANCE_UNOFFICIAL) { - int ret = mkv_parse_video_color(st, track); - if (ret < 0) - return ret; - } - + ret = mkv_parse_video_color(st, track); + if (ret < 0) + return ret; ret = mkv_parse_video_projection(st, track); if (ret < 0) return ret;