Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2009-12-21 08:06:12 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2009-12-21 08:06:12 +0300
commitaec0ee41abaa6d7a8e732e2e2f3003bf5e0e594e (patch)
treeb54c987120b459f0186982c7c4b3995fffd38868
parentd5f99308c9005b0af302a2f488ef5e892d14174e (diff)
C89 friendliness
-rw-r--r--libcelt/celt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/celt.c b/libcelt/celt.c
index ee557f0..642099f 100644
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -1289,6 +1289,7 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p
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 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p
decay = 1;
}
- float S1=0;
/* Copy excitation, taking decay into account */
for (i=0;i<len+st->mode->overlap;i++)
{