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

Commit 4c1460ff authored by Dan Austin's avatar Dan Austin Committed by Android Git Automerger
Browse files

am 3622d650: Merge "Benign integer overflow in PlaylistFetcher"

* commit '3622d650':
  Benign integer overflow in PlaylistFetcher
parents f73c329e 3622d650
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1628,7 +1628,8 @@ status_t PlaylistFetcher::extractAndQueueAccessUnitsFromTs(const sp<ABuffer> &bu

    if (mSegmentFirstPTS < 0ll) {
        // get the smallest first PTS from all streams present in this parser
        for (size_t i = mPacketSources.size(); i-- > 0;) {
        for (size_t i = mPacketSources.size(); i > 0;) {
            i--;
            const LiveSession::StreamType stream = mPacketSources.keyAt(i);
            if (stream == LiveSession::STREAMTYPE_SUBTITLES) {
                ALOGE("MPEG2 Transport streams do not contain subtitles.");