Loading lib_dec/ivas_jbm_dec.c +8 −0 Original line number Diff line number Diff line Loading @@ -2335,7 +2335,11 @@ ivas_error ivas_jbm_dec_tc_buffer_open( const int16_t n_samples_granularity /* i : granularity of the renderer/buffer */ ) { #ifdef FIX_1070_USAN_SEGFAULT_MC_TO_BIN_BTSW_HEADROT int32_t nsamp_to_allocate; #else int16_t nsamp_to_allocate; #endif DECODER_TC_BUFFER_HANDLE hTcBuffer; int16_t nMaxSlotsPerSubframe; int16_t nchan_residual; Loading Loading @@ -2414,7 +2418,11 @@ ivas_error ivas_jbm_dec_tc_buffer_open( { return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for JBM TC Buffer\n" ) ); } #ifdef FIX_1070_USAN_SEGFAULT_MC_TO_BIN_BTSW_HEADROT set_zero_l( hTcBuffer->tc_buffer, nsamp_to_allocate ); #else set_zero( hTcBuffer->tc_buffer, nsamp_to_allocate ); #endif offset = 0; for ( ch_idx = 0; ch_idx < hTcBuffer->nchan_buffer_full; ch_idx++ ) Loading Loading
lib_dec/ivas_jbm_dec.c +8 −0 Original line number Diff line number Diff line Loading @@ -2335,7 +2335,11 @@ ivas_error ivas_jbm_dec_tc_buffer_open( const int16_t n_samples_granularity /* i : granularity of the renderer/buffer */ ) { #ifdef FIX_1070_USAN_SEGFAULT_MC_TO_BIN_BTSW_HEADROT int32_t nsamp_to_allocate; #else int16_t nsamp_to_allocate; #endif DECODER_TC_BUFFER_HANDLE hTcBuffer; int16_t nMaxSlotsPerSubframe; int16_t nchan_residual; Loading Loading @@ -2414,7 +2418,11 @@ ivas_error ivas_jbm_dec_tc_buffer_open( { return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for JBM TC Buffer\n" ) ); } #ifdef FIX_1070_USAN_SEGFAULT_MC_TO_BIN_BTSW_HEADROT set_zero_l( hTcBuffer->tc_buffer, nsamp_to_allocate ); #else set_zero( hTcBuffer->tc_buffer, nsamp_to_allocate ); #endif offset = 0; for ( ch_idx = 0; ch_idx < hTcBuffer->nchan_buffer_full; ch_idx++ ) Loading