diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-28 23:04:15 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-08-28 23:04:15 +0000 |
commit | 260e09305bc875ab0e12e182591405a1d965a5d7 (patch) | |
tree | 8fbaf4a14beee0515f216dddc17adc9c2b48c74e /libavcodec/ac3dec.c | |
parent | f8007a14734ff9fc8a4dd0d0194ab2c645f72578 (diff) | |
download | ffmpeg-streaming-260e09305bc875ab0e12e182591405a1d965a5d7.zip ffmpeg-streaming-260e09305bc875ab0e12e182591405a1d965a5d7.tar.gz |
remove unneeded variable, dither_all
Originally committed as revision 15011 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 88bef36..3ecda4c 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -599,7 +599,6 @@ static void decode_transform_coeffs(AC3DecodeContext *s, int blk) } /* if any channel doesn't use dithering, zero appropriate coefficients */ - if(!s->dither_all) remove_dithering(s); } @@ -742,11 +741,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk) /* dithering flags */ if (s->dither_flag_syntax) { - s->dither_all = 1; for (ch = 1; ch <= fbw_channels; ch++) { s->dither_flag[ch] = get_bits1(gbc); - if(!s->dither_flag[ch]) - s->dither_all = 0; } } |