mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
Remove VLAs in ff_amrwb_lsp2lpc()
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
@@ -120,8 +120,8 @@ void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp, int lp_half_order)
|
||||
void ff_amrwb_lsp2lpc(const double *lsp, float *lp, int lp_order)
|
||||
{
|
||||
int lp_half_order = lp_order >> 1;
|
||||
double buf[lp_half_order + 1];
|
||||
double pa[lp_half_order + 1];
|
||||
double buf[MAX_LP_HALF_ORDER + 1];
|
||||
double pa[MAX_LP_HALF_ORDER + 1];
|
||||
double *qa = buf + 1;
|
||||
int i,j;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user