From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 8422E4B27D for ; Sat, 19 Jul 2025 23:00:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 1DB0168CF41; Sun, 20 Jul 2025 02:00:50 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 550E168C965 for ; Sun, 20 Jul 2025 02:00:43 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id A5EBB43369 for ; Sat, 19 Jul 2025 23:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1752966042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wqGdRZ1aTllXJaCz/38HyVUHRS5OSVg3mfUXDGmdERs=; b=LCKo1mT4COJeqzDqFTgzhn2sYsmmwXtbY4eDXvLDrw6GZ0+qYvozJl52crhS7b9BKySNTw QQ2HF49ftnKM5eWyPJFC3aZfP8G06NREuv3hcx52sLKP7v4awoaI8V8sflFxaj5ox5ABLH 3qey6KEhJ94whVskLS2vL9aZi2+M0+t+LXBxinYKQPCDaezfjvJ7cIjUqAYThTpYGpLCUU 9OFMZZl126jbsowBAG07qbdNuwi2+QEbSnhdpm+FToNDvffLf+O7sozOCTsve5mKjt+a+4 vU9RBmAFsl0qmwMRKdzowBfPKBEZLyxvDuWco2DWbbJL5NpALE4OkYv0wRYavg== Date: Sun, 20 Jul 2025 01:00:41 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250719230041.GU29660@pb2> References: <20250713011030.1156550-1-michael@niedermayer.cc> <20250713011030.1156550-4-michael@niedermayer.cc> <20250714185230.GJ29660@pb2> MIME-Version: 1.0 In-Reply-To: <20250714185230.GJ29660@pb2> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeijeehlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnheptefggedvffeiueffvefhiedtgfefjedukeefgeetgeevgeejgeekvdevjeelveeknecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepgedurdeiiedrieehrddujeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieehrddujeeipdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 4/5] avcodec/mpegvideo_dec: Fix lowres=3 field select interlaced mpeg4 frame 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="===============6167751826403781841==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6167751826403781841== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DJG54mtkmQq47hJt" Content-Disposition: inline --DJG54mtkmQq47hJt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 14, 2025 at 08:52:30PM +0200, Michael Niedermayer wrote: > On Sun, Jul 13, 2025 at 07:34:50PM +0200, Andreas Rheinhardt wrote: > > Michael Niedermayer: > > > Fixes: out of array read in the chroma plane > > > Fixes: 428034092/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP= EG4_DEC_fuzzer-5582608941776896.test > > >=20 > > > Found-by: continuous fuzzing process https://github.com/google/oss-fu= zz/tree/master/projects/ffmpeg > > > Signed-off-by: Michael Niedermayer > > > --- > > > libavcodec/mpegvideo_dec.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > >=20 > > > diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c > > > index 4a54f6cd614..85e24c667e3 100644 > > > --- a/libavcodec/mpegvideo_dec.c > > > +++ b/libavcodec/mpegvideo_dec.c > > > @@ -557,7 +557,7 @@ static av_always_inline void mpeg_motion_lowres(M= pegEncContext *s, > > > ptr_cr =3D ref_picture[2] + uvsrc_y * uvlinesize + uvsrc_x; > > > =20 > > > if ((unsigned) src_x > FFMAX( h_edge_pos - (!!sx) - 2 * block_s,= 0) || uvsrc_y<0 || > > > - (unsigned) src_y > FFMAX((v_edge_pos >> field_based) - (!!sy= ) - FFMAX(h, hc<chroma_y_shift), 0)) { > > > + (unsigned) src_y > FFMAX((v_edge_pos >> field_based) - (!!sy= ) - FFMAX(h, field_select + hc<chroma_y_shift), 0)) { > > > s->vdsp.emulated_edge_mc(s->sc.edge_emu_buffer, ptr_y, > > > linesize >> field_based, linesize >= > field_based, > > > 17, 17 + field_based, > >=20 > > Is lowres actually used for mpegvideo-decoders at all (in 2025)? >=20 > why not ? >=20 > Example: making thumbnails of videos. > If a video can be decoded in 2min instead of 3min that still allows to sc= an > it sooner for potential thumbnails ok if i apply this ? or you want me to wait ? iam happy to wait if you want to review/analyze thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Avoid a single point of failure, be that a person or equipment. --DJG54mtkmQq47hJt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaHwjmQAKCRBhHseHBAsP q6zlAJ0Vy/OxXutGUq+1rXor2IIMFx9PXwCfSHnS9JfQ4D3J+tXvDhCN70VcklA= =wK6O -----END PGP SIGNATURE----- --DJG54mtkmQq47hJt-- --===============6167751826403781841== 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". --===============6167751826403781841==--