Loading lib_dec/ivas_dec.c +1 −5 Original line number Diff line number Diff line Loading @@ -379,10 +379,6 @@ ivas_error ivas_dec( { int16_t nchan_ism, sba_ch_idx; #ifdef FIX_FLOAT_1518 int16_t sba_mono_flag = ( st_ivas->hDecoderConfig->nchan_out == 1 ) ? 1 : 0; #endif set_s( nb_bits_metadata, 0, MAX_SCE + 1 ); nchan_ism = st_ivas->nchan_ism; if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC ) Loading Loading @@ -448,7 +444,7 @@ ivas_error ivas_dec( ivas_sba_dirac_stereo_dec( st_ivas, &p_output[sba_ch_idx], output_frame ); } #ifdef FIX_FLOAT_1518 else if ( sba_mono_flag && st_ivas->ism_mode == ISM_MODE_NONE ) else if ( st_ivas->hDecoderConfig->nchan_out == 1 && st_ivas->ism_mode == ISM_MODE_NONE ) { v_multc( p_output[0], 2.0f, p_output[0], output_frame ); } Loading Loading
lib_dec/ivas_dec.c +1 −5 Original line number Diff line number Diff line Loading @@ -379,10 +379,6 @@ ivas_error ivas_dec( { int16_t nchan_ism, sba_ch_idx; #ifdef FIX_FLOAT_1518 int16_t sba_mono_flag = ( st_ivas->hDecoderConfig->nchan_out == 1 ) ? 1 : 0; #endif set_s( nb_bits_metadata, 0, MAX_SCE + 1 ); nchan_ism = st_ivas->nchan_ism; if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC ) Loading Loading @@ -448,7 +444,7 @@ ivas_error ivas_dec( ivas_sba_dirac_stereo_dec( st_ivas, &p_output[sba_ch_idx], output_frame ); } #ifdef FIX_FLOAT_1518 else if ( sba_mono_flag && st_ivas->ism_mode == ISM_MODE_NONE ) else if ( st_ivas->hDecoderConfig->nchan_out == 1 && st_ivas->ism_mode == ISM_MODE_NONE ) { v_multc( p_output[0], 2.0f, p_output[0], output_frame ); } Loading