From 164d166e8590350d9e493ecaada98fd07c5e7da5 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sat, 26 Jun 2010 14:34:12 +0000 Subject: lsp: convert variable-length arrays to fixed size Max LP order is defined to be 16, fixed-size buffers are OK. Originally committed as revision 23795 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/lsp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/lsp.h') diff --git a/libavcodec/lsp.h b/libavcodec/lsp.h index c3aee7b7dc..6d979e89c6 100644 --- a/libavcodec/lsp.h +++ b/libavcodec/lsp.h @@ -82,6 +82,7 @@ void ff_acelp_lp_decode(int16_t* lp_1st, int16_t* lp_2nd, const int16_t* lsp_2nd #define MAX_LP_HALF_ORDER 8 +#define MAX_LP_ORDER (2*MAX_LP_HALF_ORDER) /** * Reconstructs LPC coefficients from the line spectral pair frequencies. -- cgit v1.2.3