Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/silk
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2018-10-16 22:48:31 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2018-10-30 21:20:17 +0300
commitbefb83bab4a830aafcbd82c1aa70bae1e6f485bc (patch)
tree2a27b942b8f7b67a1dfb4e7cb27151b0aa452d01 /silk
parent04e07d2f6360b593fe10bd308fcd5f62b349b28e (diff)
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 );