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

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libcelt/plc.c')
-rw-r--r--libcelt/plc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/plc.c b/libcelt/plc.c
index cadad2b..b93fd6a 100644
--- a/libcelt/plc.c
+++ b/libcelt/plc.c
@@ -172,7 +172,7 @@ void _celt_autocorr(
ac0 += SHR32(MULT16_16(xx[i],xx[i]),8);
ac0 += 1+n;
- shift = celt_ilog2(ac0)-30+8;
+ shift = celt_ilog2(ac0)-30+9;
shift = (shift+1)/2;
for(i=0;i<n;i++)
xx[i] = VSHR32(xx[i], shift);