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

Commit 87415a74 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

Change-Id: I502080e16a7543aac4b6720283f27b365bac8d52
parents c47a0e4c b308b1a5
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);