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

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

Change-Id: I8a6ee92a0077102d93f6c9e82b5f439f99e4749c
parents 0520fa2f 130eb563
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);