Commit 9a93c585 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue: 2427 NULL psychParams version

parent ae9bcf18
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -577,16 +577,8 @@ Word16 GetPLCModeDecision_fx(
#ifndef HARMONIZE_2427_GETPLC
                    TonalMDCTConceal_Detect(st->hTonalMDCTConc, pitch, &numIndices, st->element_mode);
#else
                    IF( st->element_mode != EVS_MONO )
                    {
                    // IVAS version
                        TonalMDCTConceal_Detect_ivas_fx( st->hTonalMDCTConc, pitch, &numIndices, ( EQ_16( st->element_mode, IVAS_CPE_MDCT ) ? &( st->hTcxCfg->psychParamsTCX20 ) : st->hTcxCfg->psychParamsCurrent ), st->element_mode );
                    }
                    ELSE
                    {
                        // EVS version
                        TonalMDCTConceal_Detect( st->hTonalMDCTConc, pitch, &numIndices, st->element_mode );
                    }
                    TonalMDCTConceal_Detect_ivas_fx(st->hTonalMDCTConc, pitch, &numIndices, NULL , st->element_mode);
#endif // !HARMONIZE_2427_GETPLC
                    test();
                    test();