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

Commit 6c84b3f8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix integer overflow in MPEG4Extractor" into tm-mainline-prod

parents 0bf07b11 896d4949
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6723,7 +6723,7 @@ media_status_t MPEG4Source::fragmentedRead(
        const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex];
        offset = smpl->offset;
        size = smpl->size;
        cts = mCurrentTime + smpl->compositionOffset;
        cts = (int64_t)mCurrentTime + (int64_t)smpl->compositionOffset;

        if (mElstInitialEmptyEditTicks > 0) {
            cts += mElstInitialEmptyEditTicks;