Skip to content

Commit

Permalink
Fix for issues #34 and #36
Browse files Browse the repository at this point in the history
[x] Updated conditional checks
[x] Tested for conformance
  • Loading branch information
Saketh Sathuvalli committed Feb 1, 2023
1 parent 59ccd05 commit 73564c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions decoder/ia_core_coder_decode_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1870,8 +1870,7 @@ IA_ERRORCODE ia_core_coder_dec_process_frame_zero(VOID *temp_handle, WORD32 *num
}
}
pstr_dec_data->dec_bit_buf.max_size = handle->p_mem_info_mpeghd[IA_MEMTYPE_INPUT].ui_size << 3;
if ((pstr_asc->str_usac_config.signals_3d.format_converter_enable == 0 && hoa_present == 0 &&
oam_present == 0) ||
if ((hoa_present == 0 && oam_present == 0) ||
(pstr_asc->str_usac_config.signals_3d.format_converter_enable == 1))
*num_channel_out = pstr_dec_data->str_frame_data.scal_out_num_channels; // check
if (hoa_present == 1)
Expand Down

0 comments on commit 73564c9

Please sign in to comment.