Revision 164d166e libavcodec/lsp.c

View differences:

libavcodec/lsp.c
90 90
void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp, int lp_half_order)
91 91
{
92 92
    int i;
93
    int f1[lp_half_order+1]; // (3.22)
94
    int f2[lp_half_order+1]; // (3.22)
93
    int f1[MAX_LP_HALF_ORDER+1]; // (3.22)
94
    int f2[MAX_LP_HALF_ORDER+1]; // (3.22)
95 95

  
96 96
    lsp2poly(f1, lsp  , lp_half_order);
97 97
    lsp2poly(f2, lsp+1, lp_half_order);
......
111 111

  
112 112
void ff_acelp_lp_decode(int16_t* lp_1st, int16_t* lp_2nd, const int16_t* lsp_2nd, const int16_t* lsp_prev, int lp_order)
113 113
{
114
    int16_t lsp_1st[lp_order]; // (0.15)
114
    int16_t lsp_1st[MAX_LP_ORDER]; // (0.15)
115 115
    int i;
116 116

  
117 117
    /* LSP values for first subframe (3.2.5 of G.729, Equation 24)*/

Also available in: Unified diff