mirror of
https://github.com/ittiam-systems/libxaac.git
synced 2026-07-11 14:49:12 +07:00
Fix for segmentation fault in ixheaacd_dec_envelope
Bug: 110617740 Test: rerun poc Change-Id: I4ca17f0c3e350c8020d2eecfb1519980c7cdff6f
This commit is contained in:
parent
8cacf1f5bc
commit
ed84995ea7
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ WORD32 ixheaacd_usac_process(ia_dec_data_struct *pstr_dec_data,
|
|||
|
||||
case ID_USAC_CPE:
|
||||
nr_core_coder_channels = (stereo_config_index == 1) ? 1 : 2;
|
||||
if ((stereo_config_index > 1) &&
|
||||
if (((stereo_config_index > 1) || (stereo_config_index == 0)) &&
|
||||
(p_state_aac_dec->num_of_output_ch < 2))
|
||||
return -1;
|
||||
goto core_data_extracting;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue