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

alexc subversion at mplayerhq.hu
Thu Dec 17 02:04:17 CET 2009


Author: alexc
Date: Thu Dec 17 02:04:17 2009
New Revision: 5546

Log:
10l: Fix the wrong loop variable in noise_facs calculation.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Wed Dec 16 23:21:27 2009	(r5545)
+++ aac-sbr/aacsbr.c	Thu Dec 17 02:04:17 2009	(r5546)
@@ -974,7 +974,7 @@ static void sbr_env_noise_floors(Spectra
         else {
             sbr->noise_facs[ch][l + 1][0] = delta * ch_data->bs_data_noise[l][0];
             for (k = 1; k < sbr->n_q; k++)
-                sbr->noise_facs[ch][l + 1][k] = sbr->noise_facs[ch][l + 1][k - 1] + delta * ch_data->bs_data_noise[l][i];
+                sbr->noise_facs[ch][l + 1][k] = sbr->noise_facs[ch][l + 1][k - 1] + delta * ch_data->bs_data_noise[l][k];
         }
     }
 


More information about the FFmpeg-soc mailing list