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

Commit 80fe08ba authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix integer overflow in MPEG4Extractor"

parents 334d96ee 0b609496
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;