Mercurial > libavcodec.hg
changeset 7716:6f4d3d307676 libavcodec
remove unneeded variable, dither_all
author | jbr |
---|---|
date | Thu, 28 Aug 2008 23:04:15 +0000 |
parents | e8f71784062e |
children | a781fc312ccc |
files | ac3dec.c ac3dec.h |
diffstat | 2 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3dec.c Thu Aug 28 22:41:00 2008 +0000 +++ b/ac3dec.c Thu Aug 28 23:04:15 2008 +0000 @@ -599,7 +599,6 @@ } /* if any channel doesn't use dithering, zero appropriate coefficients */ - if(!s->dither_all) remove_dithering(s); } @@ -742,11 +741,8 @@ /* 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; } }
--- a/ac3dec.h Thu Aug 28 22:41:00 2008 +0000 +++ b/ac3dec.h Thu Aug 28 23:04:15 2008 +0000 @@ -140,7 +140,6 @@ ///@} ///@defgroup dithering zero-mantissa dithering - int dither_all; ///< true if all channels are dithered int dither_flag[AC3_MAX_CHANNELS]; ///< dither flags (dithflg) AVLFG dith_state; ///< for dither generation ///@}