Commit 9891e302 authored by kiene's avatar kiene
Browse files

fix for #152, use-of-uninit-value

parent fa38391a
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1494,6 +1494,9 @@ void stereo_switching_dec(
            sts[1]->hTcxCfg->tcx_mdct_window_length = sts[0]->hTcxCfg->tcx_mdct_window_length;
            sts[1]->pit_res_max = sts[0]->pit_res_max;
            sts[1]->pit_res_max_past = sts[0]->pit_res_max_past;
#ifdef MDCT_STEREO_PLC_FADE_2_BG_NOISE
            sts[1]->hTcxDec->L_frameTCX = sts[0]->hTcxDec->L_frameTCX;
#endif
        }
    }
    else if ( hCPE->element_mode == IVAS_CPE_TD && hCPE->last_element_mode == IVAS_CPE_MDCT )