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

Commit ab878811 authored by Marco Nelissen's avatar Marco Nelissen Committed by Automerger Merge Worker
Browse files

Merge "Fix out of memory error" into rvc-dev am: c78db377

Change-Id: If8b92cfde22da657a972cf41238ea1d66c9fb5bf
parents b8f46965 c78db377
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;
    }