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

alexc subversion at mplayerhq.hu
Tue Dec 1 21:42:24 CET 2009


Author: alexc
Date: Tue Dec  1 21:42:24 2009
New Revision: 5478

Log:
Fix SBR output scaling

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Tue Dec  1 21:42:22 2009	(r5477)
+++ aac-sbr/aacsbr.c	Tue Dec  1 21:42:24 2009	(r5478)
@@ -1046,7 +1046,7 @@ static void sbr_qmf_synthesis(float *out
             for (k = 1; k < 64 / div; k++) {
                 v[n] += X[k][l] * cosf((k + 0.5f) * (2.0f * n - 255.0f / div) * M_PI / (128.0f / div));
             }
-            v[n] /= 64.0f * 64 / div;
+            v[n] /= 64.0f / div;
         }
         for (n = 0; n <= 4; n++) {
             int temp1 = 128 / div * n, temp2 = temp1 << 1;


More information about the FFmpeg-soc mailing list