mirror of
https://github.com/ittiam-systems/libxaac.git
synced 2026-07-10 22:35:20 +07:00
Fix for Segmentation fault in esbr co variance calcualtion
Bug: 110770874 Test: re-run poc Change-Id: I345fc5a410a95e2b313c6c5b773c3a68733d6bd7
This commit is contained in:
parent
70396d6ced
commit
ed94c80fe8
1 changed files with 2 additions and 0 deletions
|
|
@ -1161,6 +1161,8 @@ WORD32 ixheaacd_generate_hf(FLOAT32 ptr_src_buf_real[][64],
|
|||
FLOAT32 alpha_real[2], alpha_imag[2];
|
||||
|
||||
bw_index = 0, patch = 1;
|
||||
if (NULL == ptr_ph_vocod_buf_real || NULL == ptr_ph_vocod_buf_imag)
|
||||
return -1;
|
||||
|
||||
for (k2 = sub_band_start; k2 < f_master_tbl[num_mf_bands]; k2++) {
|
||||
ixheaacd_esbr_calc_co_variance(&str_auto_corr, &ptr_ph_vocod_buf_real[0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue