summaryrefslogtreecommitdiff
path: root/thirdparty/opus/celt/mathops.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/opus/celt/mathops.c')
-rw-r--r--thirdparty/opus/celt/mathops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/opus/celt/mathops.c b/thirdparty/opus/celt/mathops.c
index 3f8c5dcc0e..21a01f52e4 100644
--- a/thirdparty/opus/celt/mathops.c
+++ b/thirdparty/opus/celt/mathops.c
@@ -164,7 +164,7 @@ opus_val16 celt_cos_norm(opus_val32 x)
{
return _celt_cos_pi_2(EXTRACT16(x));
} else {
- return NEG32(_celt_cos_pi_2(EXTRACT16(65536-x)));
+ return NEG16(_celt_cos_pi_2(EXTRACT16(65536-x)));
}
} else {
if (x&0x0000ffff)