ref: aec0ee41abaa6d7a8e732e2e2f3003bf5e0e594e
parent: d5f99308c9005b0af302a2f488ef5e892d14174e
author: Jean-Marc Valin <[email protected]>
date: Sun Dec 20 19:06:12 EST 2009
C89 friendliness
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -1289,6 +1289,7 @@
float exc[MAX_PERIOD];
float ac[LPC_ORDER+1];
float decay = 1;
+ float S1=0;
celt_word32 mem[LPC_ORDER]={0};
offset = MAX_PERIOD-pitch_index;
@@ -1331,7 +1332,6 @@
decay = 1;
}
- float S1=0;
/* Copy excitation, taking decay into account */
for (i=0;i<len+st->mode->overlap;i++)
{