aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-12-04 23:27:54 -0300
committerJames Almer <jamrial@gmail.com>2016-12-10 21:06:45 -0300
commitedb4f5da8125553e8ee94235a5f560cde5309f61 (patch)
tree080088d3fcd2eae0ba9f321d2afe82ac3d520f59 /libavformat/matroskadec.c
parent4e759072c2162bf884665ff65e4c1a3e0eeef075 (diff)
downloadffmpeg-edb4f5da8125553e8ee94235a5f560cde5309f61.tar.gz
avformat/matroskadec: remove the strict unofficial check for Colour elements
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c9
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;