commit | 69c6c77680b1a59b000bb1fa45f4ee5153afb9f8 | [log] [tgz] |
---|---|---|
author | William Wilgus <me.theuser@yahoo.com> | Sat Dec 08 02:25:17 2018 -0600 |
committer | William Wilgus <me.theuser@yahoo.com> | Sat Dec 08 02:25:17 2018 -0600 |
tree | 94eae76bf46c39462a8995f32683f9bc3fe4d011 | |
parent | 94506894837242877c147bd755111cfd8f993ea7 [diff] |
Fix speex warning lsp.c->lsp_to_lpc I'm pretty sure this was a false positive Change-Id: I0ab375d1d844b3d468c24888c371f588052e1ce9
diff --git a/lib/rbcodec/codecs/libspeex/lsp.c b/lib/rbcodec/codecs/libspeex/lsp.c index 83365a8..f19390a 100644 --- a/lib/rbcodec/codecs/libspeex/lsp.c +++ b/lib/rbcodec/codecs/libspeex/lsp.c
@@ -459,7 +459,7 @@ /* 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]);