[FFmpeg-cvslog] r11353 - trunk/libavcodec/ac3dec.c
jbr
subversion
Sun Dec 30 04:10:19 CET 2007
Author: jbr
Date: Sun Dec 30 04:10:18 2007
New Revision: 11353
Log:
remove unused context variable
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c (original)
+++ trunk/libavcodec/ac3dec.c Sun Dec 30 04:10:18 2007
@@ -126,7 +126,6 @@ static const uint8_t ac3_default_coeffs[
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(AC3DecodeCon
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;
More information about the ffmpeg-cvslog
mailing list