diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-07-19 18:45:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-07-19 18:46:04 +0200 |
commit | d303e0affd9274381a098da55ef4eca954f23b74 (patch) | |
tree | 00a54bf98aa0c13c3689ec694b07e50a21102951 /libavcodec/lsp.c | |
parent | 257f274dfa000ae0add4aef8bd11375c8d32add0 (diff) | |
parent | 3e9409b1d0ca6ee7063fa04d940af36a20b46a8b (diff) | |
download | ffmpeg-d303e0affd9274381a098da55ef4eca954f23b74.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
simple_idct: simplify some ifdeffery
simple_idct: remove code for DCTELEM != int16
Remove VLAs in ff_amrwb_lsp2lpc()
fate: make vsynth tests depend on only the relevant vref
rtsp: remove disabled code
dsputil: restore mistakenly removed hunk of disabled code
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lsp.c')
-rw-r--r-- | libavcodec/lsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c index 0ff0f0986a..374539a029 100644 --- a/libavcodec/lsp.c +++ b/libavcodec/lsp.c @@ -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; |