Commit 83dffca8 authored by fotopoulou's avatar fotopoulou
Browse files

port fixes from float ivas-codec main

parent 8179d2b1
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static void dec_prm_tcx_sidebits(
    /* for first frame reset last_core to initialization value for better error-robustness*/
    if ( st->ini_frame == 0 )
    {
        st->last_core = -1;
        st->last_core = TCX_20_CORE;
    }
#endif
    getTCXWindowing( st->core, st->last_core, st->element_mode, st->hTcxCfg, st0 );
+3 −0
Original line number Diff line number Diff line
@@ -1581,6 +1581,9 @@ void stereo_switching_dec(
        sts[1]->pit_res_max_past = sts[0]->pit_res_max_past;
        sts[1]->hTcxDec->L_frameTCX = sts[0]->hTcxDec->L_frameTCX;
        sts[1]->hTcxDec->conceal_eof_gain = sts[0]->hTcxDec->conceal_eof_gain;
#ifdef FIX_BASOP_ISSUE_1585_CUT_BS_CRASH
        sts[1]->ini_frame = sts[0]->ini_frame;
#endif
    }

    return;