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

Commit 130eb563 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 am:...

IOMX: do not clear buffer if it's allocated by component am: ea76573a am: 86d9bb91 am: dfe5b519 am: b308b1a5
am: 87415a74

Change-Id: If59c75fcee406abe3a2afb1c3e601f7f4b5f8970
parents 1f05c699 87415a74
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1076,7 +1076,6 @@ status_t OMXNodeInstance::allocateBufferWithBackup(
    }

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

    *buffer = makeBufferID(header);