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 832BD42388 for ; Wed, 16 Mar 2022 00:33:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8A94068AFAA; Wed, 16 Mar 2022 02:33:28 +0200 (EET) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 46A7268803D for ; Wed, 16 Mar 2022 02:33:21 +0200 (EET) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 05985200002 for ; Wed, 16 Mar 2022 00:33:19 +0000 (UTC) Date: Wed, 16 Mar 2022 01:33:19 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220316003319.GG2829255@pb2> References: <20220315223444.3449-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] tools/target_dec_fuzzer: Fix build failure from channels API 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="===============6680396553299654106==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6680396553299654106== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="w6ZS8YOlVBpftSjP" Content-Disposition: inline --w6ZS8YOlVBpftSjP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 15, 2022 at 07:45:36PM -0300, James Almer wrote: > On 3/15/2022 7:34 PM, Michael Niedermayer wrote: > > Regression since 2f8ccca2fa94ce256ff77baa18f462c1abd8d2cc and surroundi= ng commits > >=20 > > Signed-off-by: Michael Niedermayer > > --- > > tools/target_dec_fuzzer.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > >=20 > > diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c > > index eaa26b0e62..3bd1eff3ce 100644 > > --- a/tools/target_dec_fuzzer.c > > +++ b/tools/target_dec_fuzzer.c > > @@ -47,6 +47,7 @@ > > #include "config.h" > > #include "libavutil/avassert.h" > > +#include "libavutil/avstring.h" >=20 > Why? av_strlcatf() IIRC >=20 > > #include "libavutil/cpu.h" > > #include "libavutil/imgutils.h" > > #include "libavutil/intreadwrite.h" > > @@ -273,7 +274,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, siz= e_t size) { > > extradata_size =3D bytestream2_get_le32(&gbc); > > ctx->sample_rate =3D bytestream2_get_l= e32(&gbc) & 0x7FFFFFFF; > > - ctx->ch_layout.channels =3D (unsigned)bytestre= am2_get_le32(&gbc) % FF_SANE_NB_CHANNELS; > > + ctx->ch_layout.nb_channels =3D (unsigned)bytestre= am2_get_le32(&gbc) % FF_SANE_NB_CHANNELS; >=20 > LGTM, sorry about the breakage. will apply tomorrow, feel free to apply before thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In a rich man's house there is no place to spit but his face. -- Diogenes of Sinope --w6ZS8YOlVBpftSjP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYjEwSwAKCRBhHseHBAsP qw63AJ928SFsbe2bn1vYiLepCwjjkHJlnACeMhi1MjMMgiHQbXHJvLt6fky0rNg= =+W99 -----END PGP SIGNATURE----- --w6ZS8YOlVBpftSjP-- --===============6680396553299654106== 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". --===============6680396553299654106==--