From a52d8c6b320aceec28fe4767748303554a2f60d2 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sun, 3 Aug 2008 02:16:21 +0000 Subject: [PATCH] use MAX_BLOCKS for array size instead of 6 Originally committed as revision 14515 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3dec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h index b661308000..aaa28def6b 100644 --- a/libavcodec/ac3dec.h +++ b/libavcodec/ac3dec.h @@ -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