mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/matroskadec: remove the strict unofficial check for Colour elements
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
4e759072c2
commit
edb4f5da81
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue