Commit edb4f5da authored by James Almer's avatar James Almer

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

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 4e759072
...@@ -2422,12 +2422,9 @@ static int matroska_parse_tracks(AVFormatContext *s) ...@@ -2422,12 +2422,9 @@ static int matroska_parse_tracks(AVFormatContext *s)
return ret; return ret;
} }
if (s->strict_std_compliance <= FF_COMPLIANCE_UNOFFICIAL) { ret = mkv_parse_video_color(st, track);
int ret = mkv_parse_video_color(st, track);
if (ret < 0) if (ret < 0)
return ret; return ret;
}
ret = mkv_parse_video_projection(st, track); ret = mkv_parse_video_projection(st, track);
if (ret < 0) if (ret < 0)
return ret; return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment