diff options
author | James Almer <jamrial@gmail.com> | 2022-09-22 13:41:29 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-09-22 18:17:26 -0300 |
commit | c8c4a162fc18c0fd99bada66d9ea3b48c64b2450 (patch) | |
tree | b3647ca804d37cb10ae2eeac413ed53ae61c0402 /libavcodec/x86/lpc_init.c | |
parent | a2d95928c3584e7224a06b73845755f45c13c7f7 (diff) | |
download | ffmpeg-c8c4a162fc18c0fd99bada66d9ea3b48c64b2450.tar.gz |
avcodec/lpc: use ptrdiff_t for length parameters
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/lpc_init.c')
-rw-r--r-- | libavcodec/x86/lpc_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/lpc_init.c b/libavcodec/x86/lpc_init.c index df77c966c6..f2fca53799 100644 --- a/libavcodec/x86/lpc_init.c +++ b/libavcodec/x86/lpc_init.c @@ -24,16 +24,16 @@ #include "libavutil/x86/cpu.h" #include "libavcodec/lpc.h" -void ff_lpc_apply_welch_window_sse2(const int32_t *data, int len, +void ff_lpc_apply_welch_window_sse2(const int32_t *data, ptrdiff_t len, double *w_data); -void ff_lpc_apply_welch_window_avx2(const int32_t *data, int len, +void ff_lpc_apply_welch_window_avx2(const int32_t *data, ptrdiff_t len, double *w_data); DECLARE_ASM_CONST(16, double, pd_1)[2] = { 1.0, 1.0 }; #if HAVE_SSE2_INLINE -static void lpc_compute_autocorr_sse2(const double *data, int len, int lag, +static void lpc_compute_autocorr_sse2(const double *data, ptrdiff_t len, int lag, double *autoc) { int j; |