shithub: opus

Download patch

ref: 0fed074b0418f0b7c36e20c04841b83fd5fd7912
parent: 068cbd89bf57d7d268b23a6b22f37b569467046d
author: Jean-Marc Valin <[email protected]>
date: Sun May 26 16:29:44 EDT 2013

C89 fix

--- a/celt/celt_lpc.c
+++ b/celt/celt_lpc.c
@@ -183,7 +183,11 @@
    for (i=0;i<N-3;i+=4)
    {
       /* 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);
 
       /* Patch up the result to compensate for the fact that this is an IIR */