Loading lib_dec/ivas_dirac_dec.c +1 −2 Original line number Diff line number Diff line Loading @@ -2572,8 +2572,7 @@ void ivas_dirac_dec( num_freq_bands = hDirAC->band_grouping[hDirAC->hConfig->enc_param_start_band]; for ( slot_idx = 0; slot_idx < hDirAC->subframe_nbslots; slot_idx++ ) { index_slot = subframe_idx * hDirAC->subframe_nbslots + slot_idx; /* Todo: This access to azimuth & elevation may use wrong indices as access should probably be based on hDirAC->dirac_read_idx */ index_slot = ( hDirAC->dirac_read_idx + slot_idx ) % hDirAC->dirac_md_buffer_length; rotateAziEle_DirAC( hDirAC->azimuth[index_slot], hDirAC->elevation[index_slot], num_freq_bands, hDirAC->num_freq_bands, p_Rmat ); } } Loading Loading
lib_dec/ivas_dirac_dec.c +1 −2 Original line number Diff line number Diff line Loading @@ -2572,8 +2572,7 @@ void ivas_dirac_dec( num_freq_bands = hDirAC->band_grouping[hDirAC->hConfig->enc_param_start_band]; for ( slot_idx = 0; slot_idx < hDirAC->subframe_nbslots; slot_idx++ ) { index_slot = subframe_idx * hDirAC->subframe_nbslots + slot_idx; /* Todo: This access to azimuth & elevation may use wrong indices as access should probably be based on hDirAC->dirac_read_idx */ index_slot = ( hDirAC->dirac_read_idx + slot_idx ) % hDirAC->dirac_md_buffer_length; rotateAziEle_DirAC( hDirAC->azimuth[index_slot], hDirAC->elevation[index_slot], num_freq_bands, hDirAC->num_freq_bands, p_Rmat ); } } Loading