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 0119042040 for ; Sun, 20 Mar 2022 22:09:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7A6FC68B0F9; Mon, 21 Mar 2022 00:09:11 +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 85AB368A375 for ; Mon, 21 Mar 2022 00:09:05 +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 993E5200002 for ; Sun, 20 Mar 2022 22:09:04 +0000 (UTC) Date: Sun, 20 Mar 2022 23:09:03 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220320220903.GG2829255@pb2> References: <20220318014315.12480-1-jamrial@gmail.com> MIME-Version: 1.0 In-Reply-To: <20220318014315.12480-1-jamrial@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] avcodec/opus: always use ambisonic layout for mapping family 2 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="===============2522102659119545812==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2522102659119545812== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qm69bb4yWy9UXbxS" Content-Disposition: inline --qm69bb4yWy9UXbxS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 17, 2022 at 10:43:15PM -0300, James Almer wrote: > No need to use a Custom layout when the non diegetic channels can be > described as a standard mask. >=20 > Signed-off-by: James Almer > --- > libavcodec/opus.c | 17 +++-------------- > 1 file changed, 3 insertions(+), 14 deletions(-) This fixes: (please mention this in the commit and dont forget to apply thi= s patch or an equivalent one) 45684/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBOPUS_fuzzer-5039= 410989629440 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D7879=3D=3DERROR: LeakSanitizer: detected memory leaks Direct leak of 96 byte(s) in 1 object(s) allocated from: #0 0x497dd7 in posix_memalign /b/swarming/w/ir/cache/builder/src/third_= party/llvm/compiler-rt/lib/asan/asan_malloc_linux.cc:226:3 #1 0x1229708 in av_malloc libavutil/mem.c:105:9 #2 0x1229f3b in av_mallocz libavutil/mem.c:266:17 #3 0x1229f3b in av_calloc libavutil/mem.c:277 #4 0xf469c7 in ff_opus_parse_extradata libavcodec/opus.c:407:32 #5 0xbb4091 in opus_find_frame_end libavcodec/opus_parser.c:128:15 #6 0xbb4091 in opus_parse libavcodec/opus_parser.c:173 #7 0x5c0883 in av_parser_parse2 libavcodec/parser.c:164:13 #8 0x4cb83f in LLVMFuzzerTestOneInput tools/target_dec_fuzzer.c:396:27 #9 0x12a68ed in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, u= nsigned long) Fuzzer/build/../FuzzerLoop.cpp:495:13 #10 0x129b4c2 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsig= ned long) Fuzzer/build/../FuzzerDriver.cpp:273:6 #11 0x12a06c1 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned c= har const*, unsigned long)) Fuzzer/build/../FuzzerDriver.cpp:690:9 #12 0x129b1a0 in main Fuzzer/build/../FuzzerMain.cpp:20:10 #13 0x7f79c2017c86 in __libc_start_main /build/glibc-uZu3wS/glibc-2.27/= csu/../csu/libc-start.c:310 SUMMARY: AddressSanitizer: 96 byte(s) leaked in 1 allocation(s). thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope --qm69bb4yWy9UXbxS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYjel/AAKCRBhHseHBAsP q2RtAJ4415peOaPIOFSPvZeowFbDjB6R1ACcCFKfx02mJJx6E/INIh4yRI327QU= =HH3b -----END PGP SIGNATURE----- --qm69bb4yWy9UXbxS-- --===============2522102659119545812== 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". --===============2522102659119545812==--