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
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2023-10-31 09:14:03 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-10-31 09:14:03 +0300
commit132b43bdda4bbea432e443dd54aa764d2c710ff8 (patch)
tree922ac74d81184dbab129ef300ac33ae8aa728e50
parent073df6cac68644c6f3722cd3d81eb990bae86620 (diff)
Fix silly bug in CELT Deep PLCexp_celt_plc_fix1
-rw-r--r--celt/celt_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/celt_decoder.c b/celt/celt_decoder.c
index 32e26f1b..d6cff260 100644
--- a/celt/celt_decoder.c
+++ b/celt/celt_decoder.c
@@ -946,7 +946,7 @@ static void celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, int N, int LM
for (sum=0, j=0;j<16;j++) sum += 3*st->plc_pcm[i+j+1]*sinc_filter[3*j+2];
buf[DECODE_BUFFER_SIZE-N+3*i+1] = sum;
for (sum=0, j=0;j<16;j++) sum += 3*st->plc_pcm[i+j+1]*sinc_filter[3*j+1];
- buf[DECODE_BUFFER_SIZE-N+3*i+1] = sum;
+ buf[DECODE_BUFFER_SIZE-N+3*i+2] = sum;
}
OPUS_MOVE(st->plc_pcm, &st->plc_pcm[N/3], st->plc_fill-N/3);
st->plc_fill -= N/3;