Good catch by John Ridges
This commit is contained in:
parent
ef2e650592
commit
0722c16dd3
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ void pitch_downsample(celt_sig * restrict x[], celt_word16 * restrict x_lp, int
|
|||
if (C==2)
|
||||
{
|
||||
for (i=1;i<len>>1;i++)
|
||||
x_lp[i] = SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), SIG_SHIFT+2);
|
||||
x_lp[i] += SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), SIG_SHIFT+2);
|
||||
x_lp[0] += SHR32(HALF32(HALF32(x[1][1])+x[1][0]), SIG_SHIFT+2);
|
||||
*xmem += x[1][end-1];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue