Commit c206c356 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix crash in split rendering smoke test

parent 4e550822
Loading
Loading
Loading
Loading
Loading
+4 −14
Original line number Diff line number Diff line
@@ -2830,20 +2830,6 @@ static void ivas_dirac_dec_binaural_process_output_fx(
        }
    }

    move16();
#ifdef OPT_BIN_RENDERER_V1
    FOR( Word16 i = 0; i < ch_len; i++ )
#else  /* OPT_BIN_RENDERER_V1 */
    FOR( Word16 i = 0; i < 6; i++ )
#endif /* OPT_BIN_RENDERER_V1 */
    {
        FOR( Word16 j = 0; j < nSlots; j++ )
        {
            /* Process second / room effect part of binaural output when needed */
            ivas_binaural_reverb_processSubframe_fx( hDiracDecBin->hReverb, numInChannels, nSlots, inRe_fx, inIm_fx, reverbRe_fx, reverbIm_fx );
        }
    }

    IF( EQ_16( recompute, 1 ) )
    {
        // scaling input and reverb to same q//
@@ -2851,7 +2837,11 @@ static void ivas_dirac_dec_binaural_process_output_fx(
        Word16 shift = s_min( L_norm_arr( cldfbSynDec[0]->cldfb_state_fx, cldfbSynDec[0]->p_filter_length ), L_norm_arr( cldfbSynDec[1]->cldfb_state_fx, cldfbSynDec[1]->p_filter_length ) );
        q_inp_mix = 31;
        move16();
#ifdef OPT_BIN_RENDERER_V1
        FOR( Word16 i = 0; i < ch_len; i++ )
#else  /* OPT_BIN_RENDERER_V1 */
        FOR( Word16 i = 0; i < 6; i++ )
#endif /* OPT_BIN_RENDERER_V1 */
        {
            FOR( Word16 j = 0; j < nSlots; j++ )
            {