diff ac3dec.h @ 7027:1edec36c02c5 libavcodec

store exp_strategy for all blocks in decode context
author jbr
date Sat, 07 Jun 2008 22:30:47 +0000
parents 4bd2ccb0619e
children 4b9d8cd9a1f0
line wrap: on
line diff
--- a/ac3dec.h	Sat Jun 07 22:30:43 2008 +0000
+++ b/ac3dec.h	Sat Jun 07 22:30:47 2008 +0000
@@ -102,7 +102,7 @@
 ///@defgroup exponents exponents
     int num_exp_groups[AC3_MAX_CHANNELS];           ///< Number of exponent groups      (nexpgrp)
     int8_t dexps[AC3_MAX_CHANNELS][AC3_MAX_COEFS];  ///< decoded exponents
-    int exp_strategy[AC3_MAX_CHANNELS];             ///< exponent strategies            (expstr)
+    int exp_strategy[MAX_BLOCKS][AC3_MAX_CHANNELS]; ///< exponent strategies            (expstr)
 ///@}
 
 ///@defgroup bitalloc bit allocation