AAC: Simplify some logic from r19956. (The escape codebook is unsigned.)

Originally committed as revision 19958 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Converse 2009-09-22 01:34:42 +00:00
parent 1dee3e97c6
commit 5419da8d9c

View File

@ -927,7 +927,7 @@ static int decode_spectrum_and_dequant(AACContext *ac, float coef[1024],
if (is_cb_unsigned && cur_band_type != ESC_BT) {
ac->dsp.vector_fmul_sv_scalar[dim>>2](
cf, cf, vq, sf[idx], len);
} else if (is_cb_unsigned && cur_band_type == ESC_BT) {
} else if (cur_band_type == ESC_BT) {
ac->dsp.vector_fmul_scalar(cf, cf, sf[idx], len);
} else { /* !is_cb_unsigned */
ac->dsp.sv_fmul_scalar[dim>>2](cf, vq, sf[idx], len);