aboutsummaryrefslogtreecommitdiff
path: root/decoder/ixheaacd_api.c
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-01-07 19:36:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-01-07 19:36:31 +0000
commit2f4e7d8d97b8af95132b977d865434b556c6f1b5 (patch)
tree60bd21057dd93758c4756240d1c412c5e2940cd2 /decoder/ixheaacd_api.c
parenta0e487a8bd652219e94b2c85a6484d3ecfba9c40 (diff)
parent1453c9d50ac195b816bb2b57b9b21cd9e0c2782b (diff)
downloadlibxaac-2f4e7d8d97b8af95132b977d865434b556c6f1b5.tar.gz
Merge "Fix for integer overflow in xaacdec test bench"
Diffstat (limited to 'decoder/ixheaacd_api.c')
-rw-r--r--decoder/ixheaacd_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/decoder/ixheaacd_api.c b/decoder/ixheaacd_api.c
index 880ce65..1cc1f75 100644
--- a/decoder/ixheaacd_api.c
+++ b/decoder/ixheaacd_api.c
@@ -414,6 +414,8 @@ IA_ERRORCODE ixheaacd_dec_api(pVOID p_ia_enhaacplus_dec_obj, WORD32 i_cmd,
p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 0;
p_obj_exhaacplus_dec->aac_config.downmix = 0;
+ p_obj_exhaacplus_dec->aac_config.ui_n_channels = 2;
+ p_obj_exhaacplus_dec->aac_config.i_channel_mask = 3;
{
ia_aac_dec_tables_struct *pstr_aac_tables =