aboutsummaryrefslogtreecommitdiff
path: root/celt/vq.c
diff options
context:
space:
mode:
Diffstat (limited to 'celt/vq.c')
-rw-r--r--celt/vq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/vq.c b/celt/vq.c
index 8d49d804..5a4a8afd 100644
--- a/celt/vq.c
+++ b/celt/vq.c
@@ -426,7 +426,7 @@ int stereo_itheta(const celt_norm *X, const celt_norm *Y, int stereo, int N, int
/* 0.63662 = 2/pi */
itheta = MULT16_16_Q15(QCONST16(0.63662f,15),celt_atan2p(side, mid));
#else
- itheta = (int)floor(.5f+16384*0.63662f*atan2(side,mid));
+ itheta = (int)floor(.5f+16384*0.63662f*fast_atan2f(side,mid));
#endif
return itheta;