Merge commit 'b74b88f30da2389f333a31815d8326d5576d3331'

* commit 'b74b88f30da2389f333a31815d8326d5576d3331':
  g723_1: Handle values at the ends of the table in lsp2lpc()

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
Hendrik Leppkes 2015-12-07 14:58:38 +01:00
commit 2730a2013d

View File

@ -125,10 +125,8 @@ static const int16_t dc_lsp[LPC_ORDER] = {
0x6c46 0x6c46
}; };
/** /* Cosine table scaled by 2^14 */
* Cosine table scaled by 2^14 static const int16_t cos_tab[COS_TBL_SIZE + 1] = {
*/
static const int16_t cos_tab[COS_TBL_SIZE+1] = {
16384, 16383, 16379, 16373, 16364, 16353, 16340, 16324, 16384, 16383, 16379, 16373, 16364, 16353, 16340, 16324,
16305, 16284, 16261, 16235, 16207, 16176, 16143, 16107, 16305, 16284, 16261, 16235, 16207, 16176, 16143, 16107,
16069, 16029, 15986, 15941, 15893, 15843, 15791, 15736, 16069, 16029, 15986, 15941, 15893, 15843, 15791, 15736,