Commit 96474cdd authored by alexc's avatar alexc

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19958 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 94cd4381
...@@ -927,7 +927,7 @@ static int decode_spectrum_and_dequant(AACContext *ac, float coef[1024], ...@@ -927,7 +927,7 @@ static int decode_spectrum_and_dequant(AACContext *ac, float coef[1024],
if (is_cb_unsigned && cur_band_type != ESC_BT) { if (is_cb_unsigned && cur_band_type != ESC_BT) {
ac->dsp.vector_fmul_sv_scalar[dim>>2]( ac->dsp.vector_fmul_sv_scalar[dim>>2](
cf, cf, vq, sf[idx], len); 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); ac->dsp.vector_fmul_scalar(cf, cf, sf[idx], len);
} else { /* !is_cb_unsigned */ } else { /* !is_cb_unsigned */
ac->dsp.sv_fmul_scalar[dim>>2](cf, vq, sf[idx], len); ac->dsp.sv_fmul_scalar[dim>>2](cf, vq, sf[idx], len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment