[FFmpeg-soc] [soc]: r5509 - aac-sbr/aacsbr.c

alexc subversion at mplayerhq.hu
Tue Dec 8 07:14:43 CET 2009


Author: alexc
Date: Tue Dec  8 07:14:43 2009
New Revision: 5509

Log:
10l: Consider smoothing the filter gain when h_SL != 0. Not when it is.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Mon Dec  7 18:16:45 2009	(r5508)
+++ aac-sbr/aacsbr.c	Tue Dec  8 07:14:43 2009	(r5509)
@@ -1539,7 +1539,7 @@ static void sbr_hf_assemble(float y[2][6
     }
 
     for (l = 0; l < ch_data->bs_num_env[1]; l++) {
-        if (!h_SL && l != l_a[0] && l != l_a[1]) {
+        if (h_SL && l != l_a[0] && l != l_a[1]) {
             for (i = sbr->t_env[ch][l] << 1; i < sbr->t_env[ch][l + 1] << 1; i++) {
                 for (m = 0; m < sbr->m; m++) {
                     const int idx1 = i + h_SL;


More information about the FFmpeg-soc mailing list