remove unused context variable
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 30 Dec 2007 03:10:18 +0000 (03:10 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 30 Dec 2007 03:10:18 +0000 (03:10 +0000)
Originally committed as revision 11353 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3dec.c

index c06edc4..53f88f4 100644 (file)
@@ -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;