[FFmpeg-soc] [soc]: r4335 - wmapro/wma3dec.c

faust3 subversion at mplayerhq.hu
Sat May 30 15:40:42 CEST 2009


Author: faust3
Date: Sat May 30 15:40:42 2009
New Revision: 4335

Log:
removed unneeded check

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Sat May 30 15:34:13 2009	(r4334)
+++ wmapro/wma3dec.c	Sat May 30 15:40:42 2009	(r4335)
@@ -1017,9 +1017,7 @@ static void wma_calc_decorrelation_matri
     for(i=0;i<chgroup->num_channels;i++)
         chgroup->decorrelation_matrix[chgroup->num_channels * i + i] = chgroup->positive[i]?1.0:-1.0;
 
-    for(i=0;i<chgroup->num_channels;i++){
-        if ( i > 0 )
-        {
+    for(i=1;i<chgroup->num_channels;i++){
             int x;
             for(x=0;x<i;x++){
                 int y;
@@ -1038,7 +1036,6 @@ static void wma_calc_decorrelation_matri
                     chgroup->decorrelation_matrix[y + i * chgroup->num_channels] = (v1 * -sinv) + (v2 * cosv);
                 }
             }
-        }
         offset += i;
     }
 


More information about the FFmpeg-soc mailing list