Commit 64768dfd authored by Arthur Tritthart's avatar Arthur Tritthart
Browse files

fix memory sanitizer issue

parent f99936ac
Loading
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -1270,10 +1270,18 @@ static void RefineThresholdsUsingPitch_fx(
        GetF0( nSamples, nSamplesCore, powerSpectrum, lastPitchLag,
               &origF0, &origF0_32, pF0, pF0_32, element_mode );

        modifyThresholds( *pF0, *pF0_32, origF0, origF0_32,
        IF( EQ_16( element_mode, EVS_MONO ) )
        {
            modifyThresholds( *pF0, 0, origF0, origF0_32,
                              thresholdModification, thresholdModification32, element_mode );
        }
        ELSE
        {
            modifyThresholds( 0, *pF0_32, origF0, origF0_32,
                              thresholdModification, thresholdModification32, element_mode );
        }
    }
    ELSE
    {
        IF( EQ_16( element_mode, EVS_MONO ) )
        {