summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2007-12-30 03:10:18 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2007-12-30 03:10:18 +0000
commit005ab694aedd9d8b364b9d05d1d9e1dd26996c9e (patch)
treee335d80f966f42b916250b3d82184c7573f56b89
parentf9a9b3509c28ef78cd9d0e59c4263442d1205099 (diff)
remove unused context variable
Originally committed as revision 11353 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ac3dec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index c06edc46e5..53f88f481f 100644
--- a/libavcodec/ac3dec.c
+++ b/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;