changeset 10222:4ce0bf184aa3 libavcodec

AAC: Simplify some logic from r19956. (The escape codebook is unsigned.)
author alexc
date Tue, 22 Sep 2009 01:34:42 +0000
parents 2791393081ff
children b08865f6d4e3
files aac.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aac.c	Tue Sep 22 00:48:48 2009 +0000
+++ b/aac.c	Tue Sep 22 01:34:42 2009 +0000
@@ -927,7 +927,7 @@
                     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);