diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-01-20 18:57:53 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-01-20 18:57:53 +0000 |
commit | f0ee84c4b9226137e75933faee39cbf63348062a (patch) | |
tree | e755fa1107697c1fbab11f0e3aa0e0c682c68920 | |
parent | 7d71f971a86a9ef8fe09443cff097c6fd1d6f495 (diff) | |
parent | af0071f0e35aabf15b10823f743b84a91ab8b506 (diff) | |
download | libxaac-f0ee84c4b9226137e75933faee39cbf63348062a.tar.gz |
Merge "Fix for use of uninitialsied value in ixheaacd_bass_post_filter"
-rw-r--r-- | decoder/ixheaacd_acelp_decode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/decoder/ixheaacd_acelp_decode.c b/decoder/ixheaacd_acelp_decode.c index 6762d9b..e209a33 100644 --- a/decoder/ixheaacd_acelp_decode.c +++ b/decoder/ixheaacd_acelp_decode.c @@ -350,8 +350,8 @@ WORD32 ixheaacd_acelp_alias_cnx(ia_usac_data_struct *usac_data, FLOAT32 tmp, pitch_gain, gain_code, voicing_factor, r_v, innov_energy, pitch_energy, mean_ener_code; FLOAT32 gain_smooth, gain_code0, cpe; - FLOAT32 code[LEN_SUBFR], synth_temp[128 + 16]; - FLOAT32 post_process_exc[LEN_SUBFR]; + FLOAT32 code[LEN_SUBFR] = {0}, synth_temp[128 + 16] = {0}; + FLOAT32 post_process_exc[LEN_SUBFR] = {0}; FLOAT32 gain_smooth_factor; FLOAT32 *ptr_lp_filt_coeff; WORD32 pitch_min; @@ -360,8 +360,8 @@ WORD32 ixheaacd_acelp_alias_cnx(ia_usac_data_struct *usac_data, WORD32 pitch_max; WORD32 subfr_nb = 0; static const WORD16 num_codebits_table[8] = {20, 28, 36, 44, 52, 64, 12, 16}; - FLOAT32 x[FAC_LENGTH], xn2[2 * FAC_LENGTH + 16]; - WORD32 int_x[FAC_LENGTH]; + FLOAT32 x[FAC_LENGTH] = {0}, xn2[2 * FAC_LENGTH + 16] = {0}; + WORD32 int_x[FAC_LENGTH] = {0}; WORD32 TTT; WORD32 len_subfr = usac_data->len_subfrm; WORD32 fac_length; |