Commit be8f7537 authored by jbr's avatar jbr

remove unneeded variable from AC3DecodeContext

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11439 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 71c15d86
...@@ -135,7 +135,6 @@ typedef struct { ...@@ -135,7 +135,6 @@ typedef struct {
int phase_flags_in_use; ///< phase flags in use int phase_flags_in_use; ///< phase flags in use
int phase_flags[18]; ///< phase flags int phase_flags[18]; ///< phase flags
int cpl_band_struct[18]; ///< coupling band structure int cpl_band_struct[18]; ///< coupling band structure
int rematrixing_strategy; ///< rematrixing strategy
int num_rematrixing_bands; ///< number of rematrixing bands int num_rematrixing_bands; ///< number of rematrixing bands
int rematrixing_flags[4]; ///< rematrixing flags int rematrixing_flags[4]; ///< rematrixing flags
int exp_strategy[AC3_MAX_CHANNELS]; ///< exponent strategies int exp_strategy[AC3_MAX_CHANNELS]; ///< exponent strategies
...@@ -880,8 +879,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk) ...@@ -880,8 +879,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
/* stereo rematrixing strategy and band structure */ /* stereo rematrixing strategy and band structure */
if (channel_mode == AC3_CHMODE_STEREO) { if (channel_mode == AC3_CHMODE_STEREO) {
s->rematrixing_strategy = get_bits1(gbc); if (get_bits1(gbc)) {
if (s->rematrixing_strategy) {
s->num_rematrixing_bands = 4; s->num_rematrixing_bands = 4;
if(s->cpl_in_use && s->start_freq[CPL_CH] <= 61) if(s->cpl_in_use && s->start_freq[CPL_CH] <= 61)
s->num_rematrixing_bands -= 1 + (s->start_freq[CPL_CH] == 37); s->num_rematrixing_bands -= 1 + (s->start_freq[CPL_CH] == 37);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment