diff lsp.h @ 11961:d7808ddcbcee libavcodec

lsp: convert variable-length arrays to fixed size Max LP order is defined to be 16, fixed-size buffers are OK.
author mru
date Sat, 26 Jun 2010 14:34:12 +0000
parents d4ca61e293a3
children fdafbcef52f5
line wrap: on
line diff
--- a/lsp.h	Sat Jun 26 14:34:08 2010 +0000
+++ b/lsp.h	Sat Jun 26 14:34:12 2010 +0000
@@ -82,6 +82,7 @@
 
 
 #define MAX_LP_HALF_ORDER 8
+#define MAX_LP_ORDER      (2*MAX_LP_HALF_ORDER)
 
 /**
  * Reconstructs LPC coefficients from the line spectral pair frequencies.