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

Commit e5375793 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix integer overflow in MPEG4Extractor" am: 80fe08ba

parents 949540c6 80fe08ba
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;