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

Commit 8ab202b8 authored by Yi Kong's avatar Yi Kong Committed by android-build-merger
Browse files

Merge "Fix comparing int32_t with INT64_MIN" am: b5ba1eb0 am: bacbbf5a am: 1704e2ef

am: 8f32b1e1

Change-Id: I0689c929961350c09651778aed5ab3a8f72cbad9
parents afc089c8 8f32b1e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -355,7 +355,7 @@ status_t SampleIterator::findSampleTimeAndDuration(
    if (offset > 0) {
        *time += offset;
    } else {
        *time -= (offset == INT64_MIN ? INT64_MAX : (-offset));
        *time -= (offset == INT32_MIN ? INT64_MAX : (-offset));
    }

    *duration = mTTSDuration;