Commit 6ffa7970 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

simpllify logic in ivas_dec_fx

parent 12a42a9e
Loading
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -494,10 +494,6 @@ ivas_error ivas_dec_fx(
    {
        Word16 nchan_ism, sba_ch_idx;

#ifdef FIX_FLOAT_1518
        Word16 sba_mono_flag = (Word16) EQ_16( st_ivas->hDecoderConfig->nchan_out, 1 );
#endif

        set16_fx( nb_bits_metadata, 0, MAX_SCE + 1 );
        nchan_ism = st_ivas->nchan_ism;
        move16();
@@ -579,7 +575,7 @@ ivas_error ivas_dec_fx(
            ivas_sba_dirac_stereo_dec_fx( st_ivas, &p_output_fx[sba_ch_idx], output_frame );
        }
#ifdef FIX_FLOAT_1518
        ELSE IF( sba_mono_flag && EQ_16( st_ivas->ism_mode, ISM_MODE_NONE ) )
        ELSE IF( EQ_16( st_ivas->hDecoderConfig->nchan_out, 1) && EQ_16( st_ivas->ism_mode, ISM_MODE_NONE ) )
        {
            v_shr( p_output_fx[0], -1, p_output_fx[0], output_frame );
        }