mirror of
https://github.com/xiph/opus.git
synced 2025-06-01 16:17:42 +00:00
Fixes misleading initialization with not enough zeros
This commit is contained in:
parent
04e07d2f63
commit
befb83bab4
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ void silk_warped_autocorrelation_FLP(
|
||||||
{
|
{
|
||||||
opus_int n, i;
|
opus_int n, i;
|
||||||
double tmp1, tmp2;
|
double tmp1, tmp2;
|
||||||
double state[ MAX_SHAPE_LPC_ORDER + 1 ] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 };
|
double state[ MAX_SHAPE_LPC_ORDER + 1 ] = { 0 };
|
||||||
double C[ MAX_SHAPE_LPC_ORDER + 1 ] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 };
|
double C[ MAX_SHAPE_LPC_ORDER + 1 ] = { 0 };
|
||||||
|
|
||||||
/* Order must be even */
|
/* Order must be even */
|
||||||
celt_assert( ( order & 1 ) == 0 );
|
celt_assert( ( order & 1 ) == 0 );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue