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

Commit dfe5b519 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: 86d9bb91

Change-Id: Id27e600a2c500634cd56bb8367f8d7ce811d63e8
parents 9a565c52 86d9bb91
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -907,7 +907,6 @@ status_t OMXNodeInstance::allocateBufferWithBackup(
    }
    }


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


    *buffer = header;
    *buffer = header;