summaryrefslogtreecommitdiff
path: root/silk
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2018-10-16 15:48:31 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2018-10-30 14:20:17 -0400
commitbefb83bab4a830aafcbd82c1aa70bae1e6f485bc (patch)
tree2a27b942b8f7b67a1dfb4e7cb27151b0aa452d01 /silk
parent04e07d2f6360b593fe10bd308fcd5f62b349b28e (diff)
downloadopus-befb83bab4a830aafcbd82c1aa70bae1e6f485bc.tar.gz
Fixes misleading initialization with not enough zeros
Diffstat (limited to 'silk')
-rw-r--r--silk/float/warped_autocorrelation_FLP.c4
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 );