From e1c5a3e296963bbe957de795287bf91de56d2e42 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 21 Jun 2022 22:05:17 -0400 Subject: fix uninitialized warning in libopus likely this is truly a bug but I imagine much worse things happen before this point in that case Change-Id: If78465cf2ae1e5cf38ad7f087dd436b888bc9996 --- lib/rbcodec/codecs/libopus/silk/NLSF2A.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbcodec') diff --git a/lib/rbcodec/codecs/libopus/silk/NLSF2A.c b/lib/rbcodec/codecs/libopus/silk/NLSF2A.c index d5b7730638..8f472f25f7 100644 --- a/lib/rbcodec/codecs/libopus/silk/NLSF2A.c +++ b/lib/rbcodec/codecs/libopus/silk/NLSF2A.c @@ -80,7 +80,7 @@ void silk_NLSF2A( }; const unsigned char *ordering; opus_int k, i, dd; - opus_int32 cos_LSF_QA[ SILK_MAX_ORDER_LPC ]; + opus_int32 cos_LSF_QA[ SILK_MAX_ORDER_LPC ] = {0}; opus_int32 P[ SILK_MAX_ORDER_LPC / 2 + 1 ], Q[ SILK_MAX_ORDER_LPC / 2 + 1 ]; opus_int32 Ptmp, Qtmp, f_int, f_frac, cos_val, delta; opus_int32 a32_QA1[ SILK_MAX_ORDER_LPC ]; -- cgit v1.2.3