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 EF56647023 for ; Fri, 24 Nov 2023 23:49:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C21A668CF16; Sat, 25 Nov 2023 01:49:27 +0200 (EET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DD38B68CDE0 for ; Sat, 25 Nov 2023 01:49:20 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 17F3B20002 for ; Fri, 24 Nov 2023 23:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1700869760; 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=oU9Lp9B2JiQTt9+ZcV8u/+z8/opHKSChUgovd33oyJk=; b=iLP7Fd+CKNMWbGsH9bdExooXkc62+2fkFhC+iiK/x1RgX6JtNhMykAkrZ4WKLZKGzK6pmu /K3hSTnUlfTqSc3dbL22LRqv0sF/Zvyn7K8GDSXwKrH3UvwxYgRYpo2zUvmREl5UB+i+nJ xj53004arghSNLMf8JQVz+cpzYVNg3qjykUH3jlQRe69m7rQjxdHcuo3P3vVH8Y7He4wIk FyVaO9NQf033wDQN0n/OvRAIzBnj4IGEFNfnsgrf81enRQrUD+TTBcp58gGKa6aVXQSQGd 2TF4RVquuvcKxnLXr/5I0i2kDAiWzoaj0iXxjyDo5aqBFP8MsYA+MRDqquHQwA== Date: Sat, 25 Nov 2023 00:49:19 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20231124234919.GK3543730@pb2> References: <20231122194913.9856-1-jamrial@gmail.com> <20231122194913.9856-3-jamrial@gmail.com> <20231124210108.GF3543730@pb2> <1b426840-6c23-4bb2-8b86-30b1b83105f6@gmail.com> MIME-Version: 1.0 In-Reply-To: <1b426840-6c23-4bb2-8b86-30b1b83105f6@gmail.com> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 3/3] avcodec/ac3dsp: make len a size_t in float_to_fixed24 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="===============0238526075326749449==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0238526075326749449== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6NljlEycRrY7LnxP" Content-Disposition: inline --6NljlEycRrY7LnxP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 24, 2023 at 06:03:29PM -0300, James Almer wrote: > On 11/24/2023 6:01 PM, Michael Niedermayer wrote: > > On Wed, Nov 22, 2023 at 04:49:13PM -0300, James Almer wrote: > > > Should simplify asm implementations, and prevent UB on at least win64. > > >=20 > > > Signed-off-by: James Almer > > > --- > > > libavcodec/ac3dsp.c | 2 +- > > > libavcodec/ac3dsp.h | 2 +- > > > libavcodec/arm/ac3dsp_init_arm.c | 2 +- > > > libavcodec/mips/ac3dsp_mips.c | 2 +- > > > libavcodec/x86/ac3dsp_init.c | 4 ++-- > > > 5 files changed, 6 insertions(+), 6 deletions(-) > >=20 > > In file included from src/libavcodec/mips/ac3dsp_mips.c:57:0: > > src/libavcodec/ac3dsp.h:56:62: error: unknown type name =E2=80=98size_t= =E2=80=99; did you mean =E2=80=98__ssize_t=E2=80=99? > > void (*float_to_fixed24)(int32_t *dst, const float *src, size_t l= en); > > ^~~~~~ > > __ssize_t > > src/ffbuild/common.mak:81: recipe for target 'libavcodec/mips/ac3dsp_mi= ps.o' failed > > make: *** [libavcodec/mips/ac3dsp_mips.o] Error 1 > > make: *** Waiting for unfinished jobs.... > > mips FAIL >=20 > Do you know where is size_t defined for this target? stddef.h? stddef.h fixes it, yes! thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship naturally arises out of democracy, and the most aggravated form of tyranny and slavery out of the most extreme liberty. -- Plato --6NljlEycRrY7LnxP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZWE2dQAKCRBhHseHBAsP q5zPAJ4teQ0bw6xtZFJ2nLfXeKq0FxEGNQCggwU41CGjbRmX+KvmzZMwBsv7xUc= =uqN8 -----END PGP SIGNATURE----- --6NljlEycRrY7LnxP-- --===============0238526075326749449== 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". --===============0238526075326749449==--