Skip to content

Commit

Permalink
Fix silly bug in CELT Deep PLC
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvalin committed Oct 31, 2023
1 parent 073df6c commit 132b43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celt/celt_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 132b43b

Please sign in to comment.