diff options
author | James Almer <jamrial@gmail.com> | 2023-11-22 16:41:00 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-11-22 18:33:00 -0300 |
commit | 567c67c6c8cb9be083f56198bfa979e4bda84c99 (patch) | |
tree | f7a0b62ad4029b149be2b22c0838e4ec47bb8249 /libavcodec/arm/ac3dsp_init_arm.c | |
parent | 4af412be7153405e43930ac73fc7d91d7ded19eb (diff) | |
download | ffmpeg-567c67c6c8cb9be083f56198bfa979e4bda84c99.tar.gz |
avcodec/ac3dsp: make len a size_t in float_to_fixed24
Should simplify asm implementations, and prevent UB on at least win64.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/arm/ac3dsp_init_arm.c')
-rw-r--r-- | libavcodec/arm/ac3dsp_init_arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/ac3dsp_init_arm.c b/libavcodec/arm/ac3dsp_init_arm.c index a64aa6ae82..ae989069c9 100644 --- a/libavcodec/arm/ac3dsp_init_arm.c +++ b/libavcodec/arm/ac3dsp_init_arm.c @@ -26,7 +26,7 @@ #include "config.h" void ff_ac3_exponent_min_neon(uint8_t *exp, int num_reuse_blocks, int nb_coefs); -void ff_float_to_fixed24_neon(int32_t *dst, const float *src, unsigned int len); +void ff_float_to_fixed24_neon(int32_t *dst, const float *src, size_t len); void ff_ac3_extract_exponents_neon(uint8_t *exp, int32_t *coef, int nb_coefs); void ff_ac3_sum_square_butterfly_int32_neon(int64_t sum[4], const int32_t *coef0, |