Concludes the discussion from https://trac.ffmpeg.org/ticket/9673
It was found that at least one widely-used ICCv4 profile found in the wild contains broken tagging which violates the ICCv4 specification. It seems that lcms2 gets confused by this wrong tag and returns wrong values for this profile as a result. Work around it by detecting this case and printing a warning + overriding the tag by the fixed result. Since this code is *already* hidden behind -flags2 icc_profile, I decided not to add a separate "fix broken profiles" flag. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".