Originally committed as revision 15011 to svn://svn.ffmpeg.org/ffmpeg/trunk
}
/* if any channel doesn't use dithering, zero appropriate coefficients */
- if(!s->dither_all)
remove_dithering(s);
}
/* 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;
}
}
///@}
///@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
///@}