From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 10F974EABD
	for <ffmpegdev@gitmailbox.com>; Mon, 12 May 2025 22:28:05 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E57EF687A95;
	Tue, 13 May 2025 01:27:59 +0300 (EEST)
Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net
 [217.70.183.198])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D7A1A687A95
 for <ffmpeg-devel@ffmpeg.org>; Tue, 13 May 2025 01:27:53 +0300 (EEST)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 4081C43278
 for <ffmpeg-devel@ffmpeg.org>; Mon, 12 May 2025 22:27:52 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1747088873;
 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=f2u3rfhU9HUZ46kyKhUH4XXsSTY5PIRnpvwAiW3Bedg=;
 b=DOE68sdUwyenOepiWuJZ/1LYQIPDpIZ7Varel+MC/GlfCP6atTGRLlvfepYuJYVR8r6z+O
 k2gHG7HaSOmnyI7zQqAxrq/BcDQpZVI9tHdjzm5Y0VyU0DBqpeWR/YDN1OBw2MsKxWjQhz
 9NN/OsUZlp6vSFoLPhCqidiqU+OrPBt+M7MXtA2cdBgjgMa/YiZvd0AUWz2f/g3zbKI+ya
 Lm3DKiHaaM2yCOUw4T5FBYmWeUPLP37FIASzkNhnVnF9G/fO/WBRy26PaQr34+UQkza6cJ
 OtATxkXEKAOY8mze+BVP/O1cGZ1172m0Q9w0d90Fy6sT7r6UixhLTq4sMiL7qw==
Date: Tue, 13 May 2025 00:27:52 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250512222752.GC29660@pb2>
References: <20250422234520.807983-1-michael@niedermayer.cc>
MIME-Version: 1.0
In-Reply-To: <20250422234520.807983-1-michael@niedermayer.cc>
X-GND-State: clean
X-GND-Score: -85
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeftddvgeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeelkeeggfffiedufeejueffjeduhedttdduledtheevveevtdeiueelhfdtuedtkeenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [PATCH] avformat/iamfdec: Check
 side_substream_id before use
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: multipart/mixed; boundary="===============0651842678474111321=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250512222752.GC29660@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============0651842678474111321==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="YjUCIDG0UL7zSTfa"
Content-Disposition: inline


--YjUCIDG0UL7zSTfa
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 23, 2025 at 01:45:20AM +0200, Michael Niedermayer wrote:
> Fixes: poc-iamf-2025-04
>=20
> Found-by: =E8=8B=8F=E7=AB=A5 <220235212@seu.edu.cn>
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavformat/iamfdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>=20
> diff --git a/libavformat/iamfdec.c b/libavformat/iamfdec.c
> index 0f273bdd438..3a6276dcdea 100644
> --- a/libavformat/iamfdec.c
> +++ b/libavformat/iamfdec.c
> @@ -126,7 +126,7 @@ static int iamf_read_header(AVFormatContext *s)
> =20
>          // Swap back and side stream ids as our native channel layout or=
dering doen't match the
>          // order from ITU-R - BS.2051-3 for Systems I and J (where side =
channels come before back ones).
> -        if (back_substream_id >=3D 0 && av_channel_layout_compare(&layer=
->ch_layout,
> +        if (back_substream_id >=3D 0 && side_substream_id >=3D 0 && av_c=
hannel_layout_compare(&layer->ch_layout,
>                                                                  &(AVChan=
nelLayout)AV_CHANNEL_LAYOUT_9POINT1POINT6)) {
>              const IAMFSubStream *back_substream =3D &audio_element->subs=
treams[back_substream_id];
>              const IAMFSubStream *side_substream =3D &audio_element->subs=
treams[side_substream_id];

will apply

[...]
--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What is money laundering? Its paying someone and not telling the government.

--YjUCIDG0UL7zSTfa
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaCJ15wAKCRBhHseHBAsP
q1s1AJwO5JKJxO1yFxEGiKVqKqthLwUjDgCfd4EhiOtcKlr1oFYqAyvw2PLHZoc=
=CPhN
-----END PGP SIGNATURE-----

--YjUCIDG0UL7zSTfa--

--===============0651842678474111321==
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".

--===============0651842678474111321==--