diff options
author | James Almer <jamrial@gmail.com> | 2022-09-22 19:41:29 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-09-23 00:17:26 +0300 |
commit | c8c4a162fc18c0fd99bada66d9ea3b48c64b2450 (patch) | |
tree | b3647ca804d37cb10ae2eeac413ed53ae61c0402 /libavcodec/lpc.c | |
parent | a2d95928c3584e7224a06b73845755f45c13c7f7 (diff) |
avcodec/lpc: use ptrdiff_t for length parameters
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/lpc.c')
-rw-r--r-- | libavcodec/lpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c index 4885d5cb06..8603bb9709 100644 --- a/libavcodec/lpc.c +++ b/libavcodec/lpc.c @@ -31,7 +31,7 @@ /** * Apply Welch window function to audio block */ -static void lpc_apply_welch_window_c(const int32_t *data, int len, +static void lpc_apply_welch_window_c(const int32_t *data, ptrdiff_t len, double *w_data) { int i, n2; @@ -70,7 +70,7 @@ static void lpc_apply_welch_window_c(const int32_t *data, int len, * Calculate autocorrelation data from audio samples * A Welch window function is applied before calculation. */ -static void lpc_compute_autocorr_c(const double *data, int len, int lag, +static void lpc_compute_autocorr_c(const double *data, ptrdiff_t len, int lag, double *autoc) { int i, j; |