From aec0ee41abaa6d7a8e732e2e2f3003bf5e0e594e Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Mon, 21 Dec 2009 00:06:12 -0500 Subject: [PATCH] C89 friendliness --- libcelt/celt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcelt/celt.c b/libcelt/celt.c index ee557f06..642099ff 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;imode->overlap;i++) {