changeset 7465:b679a09420c8 libavcodec

use MAX_BLOCKS for array size instead of 6
author jbr
date Sun, 03 Aug 2008 02:16:21 +0000
parents 2062bf984454
children 3cb3c85c8474
files ac3dec.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ac3dec.h	Sun Aug 03 02:11:46 2008 +0000
+++ b/ac3dec.h	Sun Aug 03 02:16:21 2008 +0000
@@ -91,7 +91,7 @@
 
 ///@defgroup aht adaptive hybrid transform
     int channel_uses_aht[AC3_MAX_CHANNELS];                 ///< channel AHT in use     (chahtinu)
-    int pre_mantissa[AC3_MAX_CHANNELS][AC3_MAX_COEFS][6];   ///< pre-IDCT mantissas
+    int pre_mantissa[AC3_MAX_CHANNELS][AC3_MAX_COEFS][MAX_BLOCKS];  ///< pre-IDCT mantissas
 ///@}
 
 ///@defgroup channel channel