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
1 changed files with 3 additions and 6 deletions

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);
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;