mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 02:19:35 +00:00
lpc: increase error array size of ff_lpc_calc_ref_coefs_f by one
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
4565611b04
commit
7591f8319b
@ -172,7 +172,7 @@ double ff_lpc_calc_ref_coefs_f(LPCContext *s, const float *samples, int len,
|
||||
{
|
||||
int i;
|
||||
double signal = 0.0f, avg_err = 0.0f;
|
||||
double autoc[MAX_LPC_ORDER+1] = {0}, error[MAX_LPC_ORDER] = {0};
|
||||
double autoc[MAX_LPC_ORDER+1] = {0}, error[MAX_LPC_ORDER+1] = {0};
|
||||
const double c = (len - 1)/2.0f;
|
||||
|
||||
/* Welch window */
|
||||
|
Loading…
Reference in New Issue
Block a user