C89 friendliness
This commit is contained in:
parent
d5f99308c9
commit
aec0ee41ab
1 changed files with 1 additions and 1 deletions
|
@ -1289,6 +1289,7 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p
|
||||||
float exc[MAX_PERIOD];
|
float exc[MAX_PERIOD];
|
||||||
float ac[LPC_ORDER+1];
|
float ac[LPC_ORDER+1];
|
||||||
float decay = 1;
|
float decay = 1;
|
||||||
|
float S1=0;
|
||||||
celt_word32 mem[LPC_ORDER]={0};
|
celt_word32 mem[LPC_ORDER]={0};
|
||||||
|
|
||||||
offset = MAX_PERIOD-pitch_index;
|
offset = MAX_PERIOD-pitch_index;
|
||||||
|
@ -1331,7 +1332,6 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p
|
||||||
decay = 1;
|
decay = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
float S1=0;
|
|
||||||
/* Copy excitation, taking decay into account */
|
/* Copy excitation, taking decay into account */
|
||||||
for (i=0;i<len+st->mode->overlap;i++)
|
for (i=0;i<len+st->mode->overlap;i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue