diff options
author | James Almer <jamrial@gmail.com> | 2016-12-05 05:27:54 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-12-11 03:06:45 +0300 |
commit | edb4f5da8125553e8ee94235a5f560cde5309f61 (patch) | |
tree | 080088d3fcd2eae0ba9f321d2afe82ac3d520f59 /libavformat | |
parent | 4e759072c2162bf884665ff65e4c1a3e0eeef075 (diff) |
avformat/matroskadec: remove the strict unofficial check for Colour elements
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskadec.c | 9 |
1 files 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; |