[FFmpeg-cvslog] avformat/matroskadec: remove the strict unofficial check for Colour elements
James Almer
git at videolan.org
Sun Dec 11 02:54:40 EET 2016
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Dec 4 23:27:54 2016 -0300| [edb4f5da8125553e8ee94235a5f560cde5309f61] | committer: James Almer
avformat/matroskadec: remove the strict unofficial check for Colour elements
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=edb4f5da8125553e8ee94235a5f560cde5309f61
---
libavformat/matroskadec.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 4db6879..58731aa 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;
More information about the ffmpeg-cvslog
mailing list