[FFmpeg-cvslog] r19958 - trunk/libavcodec/aac.c

alexc subversion
Tue Sep 22 03:34:43 CEST 2009


Author: alexc
Date: Tue Sep 22 03:34:42 2009
New Revision: 19958

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

Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	Tue Sep 22 02:48:48 2009	(r19957)
+++ trunk/libavcodec/aac.c	Tue Sep 22 03:34:42 2009	(r19958)
@@ -927,7 +927,7 @@ static int decode_spectrum_and_dequant(A
                     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);



More information about the ffmpeg-cvslog mailing list