[FFmpeg-soc] [soc]: r2300 - eac3/ac3dec.h

jbr subversion at mplayerhq.hu
Sun Jun 1 20:25:44 CEST 2008


Author: jbr
Date: Sun Jun  1 20:25:44 2008
New Revision: 2300

Log:
use constant macro for array size

Modified:
   eac3/ac3dec.h

Modified: eac3/ac3dec.h
==============================================================================
--- eac3/ac3dec.h	(original)
+++ eac3/ac3dec.h	Sun Jun  1 20:25:44 2008
@@ -98,7 +98,7 @@ typedef struct AC3DecodeContext {
 
 ///@defgroup aht adaptive hybrid transform
     int channel_uses_aht[AC3_MAX_CHANNELS];     ///< channel AHT in use (chahtinu)
-    int pre_mantissa[6][AC3_MAX_CHANNELS][256]; ///< pre-IDCT mantissas
+    int pre_mantissa[6][AC3_MAX_CHANNELS][AC3_MAX_COEFS];   ///< pre-IDCT mantissas
 ///@}
 
 #if TEST_SPX
@@ -204,7 +204,7 @@ typedef struct AC3DecodeContext {
     float mul_bias;     ///< scaling for float_to_int16 conversion
 ///@}
 
-    int fixed_coeffs[AC3_MAX_CHANNELS][256];    ///< fixed-point transform coefficients
+    int fixed_coeffs[AC3_MAX_CHANNELS][AC3_MAX_COEFS];  ///< fixed-point transform coefficients
 
 ///@defgroup arrays aligned arrays
     DECLARE_ALIGNED_16(float, transform_coeffs[AC3_MAX_CHANNELS][AC3_MAX_COEFS]);   ///< frequency coefficients



More information about the FFmpeg-soc mailing list