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 C2FDF46BCB for ; Mon, 4 Sep 2023 19:00:50 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0774468C799; Mon, 4 Sep 2023 22:00:48 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4FBFB68BC71 for ; Mon, 4 Sep 2023 22:00:41 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9AFB9E000A for ; Mon, 4 Sep 2023 19:00:40 +0000 (UTC) Date: Mon, 4 Sep 2023 21:00:39 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230904190039.GK8640@pb2> References: <20230610183109.24802-1-michael@niedermayer.cc> <20230610183109.24802-2-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20230610183109.24802-2-michael@niedermayer.cc> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000dec: jpeg2000 has its own lowres option 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: multipart/mixed; boundary="===============3406511980034864715==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3406511980034864715== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IA03tywDYuoVKXrw" Content-Disposition: inline --IA03tywDYuoVKXrw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 10, 2023 at 08:31:09PM +0200, Michael Niedermayer wrote: > jpeg2000 overrides the global lowres variable with a lowres field called = reduction_factor > ffmpeg -lowres X causes the reduction_factor to be set > ffplay -lowres X causes both lowres and the reduction_factor to be set > ossfuss sets only lowres >=20 > only the ffmpeg variant works. This patch tries to make the other 2 work. >=20 > Alternative we could just error out if things are inconsistent. > More complex restructuring should be limited to the master branch > to keep this reasonably easy to backport >=20 > Fixes: out of array access > Fixes: 59672/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000 >=20 > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/t= ree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavcodec/jpeg2000dec.c | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) if there are no objections then i plan to apply this in a few days [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Never trust a computer, one day, it may think you are the virus. -- Compn --IA03tywDYuoVKXrw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZPYpVwAKCRBhHseHBAsP q0m3AKCFLSuAAIo2elSZfDhu3B1STGq0bgCeJ4p1DxP+Zygxq+DFJMG2Yu5HddA= =wshB -----END PGP SIGNATURE----- --IA03tywDYuoVKXrw-- --===============3406511980034864715== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============3406511980034864715==--