From befb83bab4a830aafcbd82c1aa70bae1e6f485bc Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Tue, 16 Oct 2018 15:48:31 -0400 Subject: Fixes misleading initialization with not enough zeros --- silk/float/warped_autocorrelation_FLP.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'silk') 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 ); -- cgit v1.2.1