aboutsummaryrefslogtreecommitdiff
path: root/celt/vq.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-06-20 12:11:05 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-06-20 12:11:05 -0400
commitb66080a8794f7e49d519a8e3e063ae5c645f465e (patch)
treee26c3ac1ae12577385ccae82cd567457d73dca04 /celt/vq.c
parentb1034eb1f06250f6524e14b9c9e1f388a45eb158 (diff)
downloadlibopus-b66080a8794f7e49d519a8e3e063ae5c645f465e.tar.gz
Fixes minor code quality issues in CELT
Reported by Durandal.
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 f3583960..d29f38fd 100644
--- a/celt/vq.c
+++ b/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;