C89 fix
This commit is contained in:
parent
068cbd89bf
commit
0fed074b04
1 changed files with 5 additions and 1 deletions
|
@ -183,7 +183,11 @@ void celt_iir(const opus_val32 *_x,
|
||||||
for (i=0;i<N-3;i+=4)
|
for (i=0;i<N-3;i+=4)
|
||||||
{
|
{
|
||||||
/* Unroll by 4 as if it were an FIR filter */
|
/* Unroll by 4 as if it were an FIR filter */
|
||||||
opus_val32 sum[4]={_x[i],_x[i+1],_x[i+2],_x[i+3]};
|
opus_val32 sum[4];
|
||||||
|
sum[0]=_x[i];
|
||||||
|
sum[1]=_x[i+1];
|
||||||
|
sum[2]=_x[i+2];
|
||||||
|
sum[3]=_x[i+3];
|
||||||
xcorr_kernel(rden, y+i, sum, ord);
|
xcorr_kernel(rden, y+i, sum, ord);
|
||||||
|
|
||||||
/* Patch up the result to compensate for the fact that this is an IIR */
|
/* Patch up the result to compensate for the fact that this is an IIR */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue