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

Commit 86d9bb91 authored by Chong Zhang's avatar Chong Zhang Committed by android-build-merger
Browse files

IOMX: do not clear buffer if it's allocated by component

am: ea76573a

Change-Id: Id77521c1d8a2e3c0f24b3467db0cea1907d5b934
parents 99accf6c ea76573a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -907,7 +907,6 @@ status_t OMXNodeInstance::allocateBufferWithBackup(
    }

    CHECK_EQ(header->pAppPrivate, buffer_meta);
    memset(header->pBuffer, 0, header->nAllocLen);

    *buffer = header;