summaryrefslogtreecommitdiffstats
path: root/libavcodec/lsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-07-19 18:45:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-07-19 18:46:04 +0200
commitd303e0affd9274381a098da55ef4eca954f23b74 (patch)
tree00a54bf98aa0c13c3689ec694b07e50a21102951 /libavcodec/lsp.c
parent257f274dfa000ae0add4aef8bd11375c8d32add0 (diff)
parent3e9409b1d0ca6ee7063fa04d940af36a20b46a8b (diff)
downloadffmpeg-streaming-d303e0affd9274381a098da55ef4eca954f23b74.zip
ffmpeg-streaming-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c
index 0ff0f09..374539a 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;
OpenPOWER on IntegriCloud