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

Commit bacbbf5a 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

Change-Id: I4ba8f23d4f376fbb36414def90a346e9c3091669
parents b4ea55b6 b5ba1eb0
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;