[FFmpeg-soc] [soc]: r3352 - aacenc/aacpsy.c
kostya
subversion at mplayerhq.hu
Sat Aug 16 14:23:09 CEST 2008
Author: kostya
Date: Sat Aug 16 14:23:09 2008
New Revision: 3352
Log:
a microoptimization
Modified:
aacenc/aacpsy.c
Modified: aacenc/aacpsy.c
==============================================================================
--- aacenc/aacpsy.c (original)
+++ aacenc/aacpsy.c Sat Aug 16 14:23:09 2008
@@ -485,7 +485,7 @@ static void psy_3gpp_window(AACPsyContex
static inline float modify_thr(float thr, float r){
float t;
t = pow(thr, 0.25) + r;
- return t*t*t*t;
+ return (t*t)*(t*t);
}
/**
More information about the FFmpeg-soc
mailing list