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

Commit ca049655 authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "Revert "Check for out of bounds reads in ESQueue. Bug: 23221340""

parents dd665ff2 26cdc940
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1120,10 +1120,6 @@ sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitMPEGVideo() {
        }

        if (mFormat != NULL && currentStartCode == 0xb8) {
            if (offset + 7 <= size) {
                ALOGE("Size too small");
                return NULL;
            }
            // GOP layer
            gopFound = true;
            isClosedGop = (data[offset + 7] & 0x40) != 0;