# HG changeset patch # User jbr # Date 1198984218 0 # Node ID 2b84971fb4f13faac1cc1161a0b20a7b9a0bb606 # Parent 34abda474ff776de989ef8bccf7bf1abbdc192a4 remove unused context variable diff -r 34abda474ff7 -r 2b84971fb4f1 ac3dec.c --- a/ac3dec.c Sat Dec 29 20:49:03 2007 +0000 +++ b/ac3dec.c Sun Dec 30 03:10:18 2007 +0000 @@ -126,7 +126,6 @@ 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 @@ 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;