summaryrefslogtreecommitdiff
path: root/thirdparty/opus/celt/vq.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/opus/celt/vq.c')
-rw-r--r--thirdparty/opus/celt/vq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/opus/celt/vq.c b/thirdparty/opus/celt/vq.c
index f358396065..d29f38fd8e 100644
--- a/thirdparty/opus/celt/vq.c
+++ b/thirdparty/opus/celt/vq.c
@@ -271,7 +271,7 @@ unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B, ec_enc *enc
best_id = 0;
/* The squared magnitude term gets added anyway, so we might as well
add it outside the loop */
- yy = ADD32(yy, 1);
+ yy = ADD16(yy, 1);
j=0;
do {
opus_val16 Rxy, Ryy;