1
0
Fork 0
forked from len0rd/rockbox

Fix speex warning lsp.c->lsp_to_lpc

I'm pretty sure this was a false positive

Change-Id: I0ab375d1d844b3d468c24888c371f588052e1ce9
This commit is contained in:
William Wilgus 2018-12-08 02:25:17 -06:00
parent 9450689483
commit 69c6c77680

View file

@ -459,7 +459,7 @@ void lsp_to_lpc(spx_lsp_t *freq,spx_coef_t *ak,int lpcrdr, char *stack)
/* work out 2cos terms in Q14 */
ALLOC(freqn, lpcrdr, spx_word16_t);
ALLOC(freqn, (lpcrdr + 1), spx_word16_t);
for (i=0;i<lpcrdr;i++)
freqn[i] = ANGLE2X(freq[i]);