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

Commit c78db377 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "Fix out of memory error" into rvc-dev

parents ef57c62b 08657517
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1153,7 +1153,7 @@ sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitAAC() {
    }

    const RangeInfo &info = *mRangeInfos.begin();
    if (mBuffer->size() < info.mLength) {
    if (info.mLength == 0 || mBuffer->size() < info.mLength) {
        return NULL;
    }