[FFmpeg-soc] [soc]: r3706 - aacenc/aacenc.c

kostya subversion at mplayerhq.hu
Fri Sep 5 14:07:33 CEST 2008


Author: kostya
Date: Fri Sep  5 14:07:32 2008
New Revision: 3706

Log:
Remove unneeded multiplication

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Fri Sep  5 14:07:32 2008
@@ -382,7 +382,7 @@ static inline float get_approximate_quan
         unquant = (c[i] * cbrt(c[i])) * IQ;
         sum += (coef - unquant) * (coef - unquant);
     }
-    return sum * 1.0;
+    return sum;
 }
 
 /**



More information about the FFmpeg-soc mailing list