commit | b308b1a5d95a03d45cf8bfaf4f35debd398f3c20 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Tue Sep 20 00:45:37 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Sep 20 00:45:37 2016 +0000 |
tree | 611aef95376bc7b61cc55c73d69f363e50515dfd | |
parent | daa3b8e3fae616a73c2087d657a2f2a8afcec62f [diff] | |
parent | dfe5b5193cfc6321a7ddd3a48ceeaf59097cb545 [diff] |
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141 am: dfe5b5193c Change-Id: Ibd28b74deb652eb61b08e933a5e288d145841a14
diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp index fa6df84..926557b 100644 --- a/media/libstagefright/omx/OMXNodeInstance.cpp +++ b/media/libstagefright/omx/OMXNodeInstance.cpp
@@ -985,7 +985,6 @@ } CHECK_EQ(header->pAppPrivate, buffer_meta); - memset(header->pBuffer, 0, header->nAllocLen); *buffer = makeBufferID(header);