changeset 6125:5573739fee16 libavcodec

remove unneeded variable from AC3DecodeContext
author jbr
date Sun, 06 Jan 2008 23:56:19 +0000
parents d06c62429572
children c24cd5282108
files ac3dec.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ac3dec.c	Sun Jan 06 23:33:30 2008 +0000
+++ b/ac3dec.c	Sun Jan 06 23:56:19 2008 +0000
@@ -135,7 +135,6 @@
     int phase_flags_in_use;                 ///< phase flags in use
     int phase_flags[18];                    ///< phase flags
     int cpl_band_struct[18];                ///< coupling band structure
-    int rematrixing_strategy;               ///< rematrixing strategy
     int num_rematrixing_bands;              ///< number of rematrixing bands
     int rematrixing_flags[4];               ///< rematrixing flags
     int exp_strategy[AC3_MAX_CHANNELS];     ///< exponent strategies
@@ -880,8 +879,7 @@
 
     /* stereo rematrixing strategy and band structure */
     if (channel_mode == AC3_CHMODE_STEREO) {
-        s->rematrixing_strategy = get_bits1(gbc);
-        if (s->rematrixing_strategy) {
+        if (get_bits1(gbc)) {
             s->num_rematrixing_bands = 4;
             if(s->cpl_in_use && s->start_freq[CPL_CH] <= 61)
                 s->num_rematrixing_bands -= 1 + (s->start_freq[CPL_CH] == 37);