use MAX_BLOCKS for array size instead of 6
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 3 Aug 2008 02:16:21 +0000 (02:16 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 3 Aug 2008 02:16:21 +0000 (02:16 +0000)
Originally committed as revision 14515 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3dec.h

index b661308..aaa28de 100644 (file)
@@ -91,7 +91,7 @@ typedef struct {
 
 ///@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