Commit 5eeed9dc authored by Arash Azizi's avatar Arash Azizi
Browse files

issue: 2427 NULL pointer for psychParam

parent 4b725157
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -578,7 +578,7 @@ Word16 GetPLCModeDecision_fx(
                    TonalMDCTConceal_Detect( st->hTonalMDCTConc, pitch, &numIndices, st->element_mode );
#else
                    // IVAS version
                    TonalMDCTConceal_Detect_ivas_fx( st->hTonalMDCTConc, pitch, &numIndices, ( EQ_16( st->element_mode, IVAS_CPE_MDCT ) ? &( st->hTcxCfg->psychParamsTCX20 ) : NULL ), st->element_mode );
                    TonalMDCTConceal_Detect_ivas_fx(st->hTonalMDCTConc, pitch, &numIndices, NULL, st->element_mode);
#endif // !HARMONIZE_2427_GETPLC
                    test();
                    test();