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

Commit 5e4f8ec5 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 am: ab878811

Change-Id: Iaecac2ce1a3fc0f3703e11bcca21c3bba3eb52d1
parents ce2e7384 ab878811
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;
    }