diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-06-21 22:05:17 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-06-21 22:05:17 -0400 |
commit | e1c5a3e296963bbe957de795287bf91de56d2e42 (patch) | |
tree | 603f3c89c38a2079b48a8c63f66ab8262e994873 | |
parent | 75f618ea62a7572e7e0ad4e2d43c41ba3fc3ea36 (diff) | |
download | rockbox-e1c5a3e296.tar.gz rockbox-e1c5a3e296.zip |
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
-rw-r--r-- | lib/rbcodec/codecs/libopus/silk/NLSF2A.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ]; |