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

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


Author: alexc
Date: Tue Dec  8 07:14:45 2009
New Revision: 5510

Log:
When s_m_boost is not zero q_filt is zero.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Tue Dec  8 07:14:43 2009	(r5509)
+++ aac-sbr/aacsbr.c	Tue Dec  8 07:14:45 2009	(r5510)
@@ -1567,7 +1567,9 @@ static void sbr_hf_assemble(float y[2][6
         if (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++) {
-                    if (sbr->s_m_boost[l][m] && h_SL) {
+                    if (sbr->s_m_boost[l][m])
+                        q_filt[i][m] = 0.0f;
+                    else if (h_SL) {
                         const int idx1 = i + h_SL;
                         q_filt[i][m] = 0.0f;
                         for (j = 0; j <= h_SL; j++)


More information about the FFmpeg-soc mailing list