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

Commit 10ce6c5b authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Properly use a long long literal to avoid under/overflow during fps computation."

parents 1e65d9e5 d73a81c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -47,7 +47,7 @@ static int64_t getNowUs() {
    struct timeval tv;
    struct timeval tv;
    gettimeofday(&tv, NULL);
    gettimeofday(&tv, NULL);


    return (int64_t)tv.tv_usec + tv.tv_sec * 1000000;
    return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
}
}


static void playSource(OMXClient *client, const sp<MediaSource> &source) {
static void playSource(OMXClient *client, const sp<MediaSource> &source) {