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

alexc subversion at mplayerhq.hu
Sun Dec 6 23:48:45 CET 2009


Author: alexc
Date: Sun Dec  6 23:48:44 2009
New Revision: 5502

Log:
Remove an unnecessary autocorrelation matrix position. phi[i+1][j] = phi*[j+1][i] therefore phi[i][j] where i > j+1 is unused.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Sun Dec  6 23:48:42 2009	(r5501)
+++ aac-sbr/aacsbr.c	Sun Dec  6 23:48:44 2009	(r5502)
@@ -1098,6 +1098,7 @@ static void sbr_hf_inverse_filter(float 
                 phi[i][j][0] = 0.0f;
                 phi[i][j][1] = 0.0f;
 
+                if (i <= j + 1)
                 for (n = 0; n < 16 * 2 + 6; n++) {
                     unsigned int idx1 = n + idxtmp1;
                     unsigned int idx2 = n + idxtmp2;


More information about the FFmpeg-soc mailing list