remove unused context variable

Originally committed as revision 11353 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Justin Ruggles 17 years ago
parent f9a9b3509c
commit 005ab694ae
  1. 2
      libavcodec/ac3dec.c

@ -126,7 +126,6 @@ static const uint8_t ac3_default_coeffs[8][5][2] = {
typedef struct {
int channel_mode; ///< channel mode (acmod)
int dolby_surround_mode; ///< dolby surround mode
int block_switch[AC3_MAX_CHANNELS]; ///< block switch flags
int dither_flag[AC3_MAX_CHANNELS]; ///< dither flags
int dither_all; ///< true if all channels are dithered
@ -336,7 +335,6 @@ static int ac3_parse_header(AC3DecodeContext *ctx)
ctx->channel_mode = hdr.channel_mode;
center_mix_level = gain_levels[center_levels[hdr.center_mix_level]];
surround_mix_level = gain_levels[surround_levels[hdr.surround_mix_level]];
ctx->dolby_surround_mode = hdr.dolby_surround_mode;
ctx->lfe_on = hdr.lfe_on;
ctx->bit_alloc_params.sr_shift = hdr.sr_shift;
ctx->sampling_rate = hdr.sample_rate;

Loading…
Cancel
Save