From dcfa63fc9d52d7fc761d5fb253e8ece8b11e06c8 Mon Sep 17 00:00:00 2001 From: Sergio Filipe Date: Thu, 19 Nov 2020 20:48:38 -0300 Subject: [PATCH] Fix #10: Making it build on debian jessie Avoiding missing-braces error wich is apparently a GCC bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119) --- src/fixedCodebookSearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fixedCodebookSearch.c b/src/fixedCodebookSearch.c index 67cb050..f66c20b 100644 --- a/src/fixedCodebookSearch.c +++ b/src/fixedCodebookSearch.c @@ -60,7 +60,7 @@ void fixedCodebookSearch(word16_t targetSignal[], word16_t impulseResponse[], in int correlationSignalSign[L_SUBFRAME]; /* to store the sign of each correlationSignal element */ /* build the matrix ะค' : impulseResponse correlation matrix spec 3.8.1 eq51, eq56 and eq57 */ /* correlationSignal turns to absolute values and sign of elements is stored in correlationSignalSign */ - word32_t Phi[L_SUBFRAME][L_SUBFRAME] = {0}; + word32_t Phi[L_SUBFRAME][L_SUBFRAME] = {{0}}; int m3Base; int i0=0, i1=0, i2=0, i3=0; word32_t correlationSquareMax = -1;