From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 4BAB145C62 for ; Wed, 27 Sep 2023 10:06:49 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9CF1368CAC9; Wed, 27 Sep 2023 13:06:46 +0300 (EEST) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3D9D368CA97 for ; Wed, 27 Sep 2023 13:06:40 +0300 (EEST) Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id D897041827 for ; Wed, 27 Sep 2023 12:06:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1695809199; bh=FQqaE60JgTW7YEnoSJ/TiQEf2nMhnE4P7vYit8FdD+w=; h=From:To:Subject:Date:From; b=uSok7nYGC294CrzcRIT7VYf4Dk7plBuTDrZWFk/Ys7VYYjnwvJgrt99cVHrV2riBm 7l12VPJWipvxmw5JizM9yP/o2qKpc+vjqj4/zDEqW0V+vedAVhwC0oDrJyWfdC7Lrz 4+IksmpJY7gj4/5VlCnXC78XE50ggQ5GtepEYUmI= From: Niklas Haas To: ffmpeg-devel@ffmpeg.org Date: Wed, 27 Sep 2023 12:03:51 +0200 Message-ID: <20230927100630.50510-1-ffmpeg@haasn.xyz> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/5] work around broken (apple) ICCv4 profiles X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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-request@ffmpeg.org with subject "unsubscribe".