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

Commit 6bcc9919 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...

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

Change-Id: Ic0cdd64a9fb19e0cce68bf76604c307d0573e92a
parents c3ef3a33 f83f69d8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -129,6 +129,11 @@ bool VideoFrameScheduler::PLL::fit(
        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 sumXX = 0;
    int64_t sumXY = 0;