[FFmpeg-devel] [PATCH 3/3] avcodec/ac3dsp: make len a size_t in float_to_fixed24
Michael Niedermayer
michael at niedermayer.cc
Fri Nov 24 23:01:08 EET 2023
On Wed, Nov 22, 2023 at 04:49:13PM -0300, James Almer wrote:
> Should simplify asm implementations, and prevent UB on at least win64.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> 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(-)
In file included from src/libavcodec/mips/ac3dsp_mips.c:57:0:
src/libavcodec/ac3dsp.h:56:62: error: unknown type name ‘size_t’; did you mean ‘__ssize_t’?
void (*float_to_fixed24)(int32_t *dst, const float *src, size_t len);
^~~~~~
__ssize_t
src/ffbuild/common.mak:81: recipe for target 'libavcodec/mips/ac3dsp_mips.o' failed
make: *** [libavcodec/mips/ac3dsp_mips.o] Error 1
make: *** Waiting for unfinished jobs....
mips FAIL
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231124/43251cb8/attachment.sig>
More information about the ffmpeg-devel
mailing list