1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/matroskadec: remove the strict unofficial check for Colour elements

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2016-12-04 23:27:54 -03:00
parent 4e759072c2
commit edb4f5da81

View File

@@ -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);
ret = mkv_parse_video_color(st, track);
if (ret < 0)
return ret;
}
ret = mkv_parse_video_projection(st, track);
if (ret < 0)
return ret;