Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f83f69d8 authored by Ryszard Grzesica's avatar Ryszard Grzesica Committed by android-build-merger
Browse files

Merge changes from topic "am-bcb09242-ce3f-453e-a1ab-496ff9dcb274" into oc-dev am: 73c9deaf

am: 67952b52

Change-Id: Ia5bf8aea4c30ef91f056e56de74f0ccceb3b7e82
parents c15279ab 67952b52
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -129,6 +129,11 @@ bool VideoFrameScheduler::PLL::fit(
        numSamplesToUse = mNumSamples;
        numSamplesToUse = mNumSamples;
    }
    }


    if ((period >> kPrecision) == 0 ) {
        ALOGW("Period is 0, or after including precision is 0 - would cause div0, returning");
        return false;
    }

    int64_t sumX = 0;
    int64_t sumX = 0;
    int64_t sumXX = 0;
    int64_t sumXX = 0;
    int64_t sumXY = 0;
    int64_t sumXY = 0;