Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/celt/vq.c
diff options
context:
space:
mode:
authorKoen Vos <koen.vos@skype.net>2011-10-24 17:10:58 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-10-24 17:10:58 +0400
commit43a0de4af15b6cf61938d5c442e3b689773d085b (patch)
tree3e35faaa84a93d1f2f752a6fe34ed2b1ec2a4d30 /celt/vq.c
parent3b2aee062d08fc72f12a4379ce2d6e2b444d5021 (diff)
Optimization of the CBR loop
Also some comment/warning fixes
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 737916eb..c743f9d7 100644
--- a/celt/vq.c
+++ b/celt/vq.c
@@ -258,7 +258,7 @@ unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B, ec_enc *enc
#endif
if (pulsesLeft > N+3)
{
- opus_val16 tmp = pulsesLeft;
+ opus_val16 tmp = (opus_val16)pulsesLeft;
yy = MAC16_16(yy, tmp, tmp);
yy = MAC16_16(yy, tmp, y[0]);
iy[0] += pulsesLeft;