diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-10-16 22:48:31 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-10-30 21:20:17 +0300 |
commit | befb83bab4a830aafcbd82c1aa70bae1e6f485bc (patch) | |
tree | 2a27b942b8f7b67a1dfb4e7cb27151b0aa452d01 /silk | |
parent | 04e07d2f6360b593fe10bd308fcd5f62b349b28e (diff) |
Fixes misleading initialization with not enough zeros
Diffstat (limited to 'silk')
-rw-r--r-- | silk/float/warped_autocorrelation_FLP.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/float/warped_autocorrelation_FLP.c b/silk/float/warped_autocorrelation_FLP.c index 96662767..09186e73 100644 --- a/silk/float/warped_autocorrelation_FLP.c +++ b/silk/float/warped_autocorrelation_FLP.c @@ -42,8 +42,8 @@ void silk_warped_autocorrelation_FLP( { opus_int n, i; 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 C[ 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 }; /* Order must be even */ celt_assert( ( order & 1 ) == 0 ); |