commit | 17b0bdf4e8bc9d41f2760417865c294d66f25bdb | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Tue Sep 20 04:26:52 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Sep 20 04:26:52 2016 +0000 |
tree | fb577050421ef8e2ab2fb376c43ce079d6b8fdda | |
parent | 0b6c4b9d41d7c478638ce9a4a3e51937b25520a1 [diff] | |
parent | 295244de614e448e6a20ca141f792605e2bd2fbf [diff] |
IOMX: do not clear buffer if it's allocated by component am: ea76573aa2 am: 86d9bb9141 am: dfe5b5193c am: b308b1a5d9 am: 87415a74ee am: 130eb563b8 am: 106a9050b9 am: 53de578e88 am: 295244de61 Change-Id: Ibd2d0fec4c2cacbe0feb78224dce037f6e93c306
diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp index b86611f..1e76e01 100644 --- a/media/libstagefright/omx/OMXNodeInstance.cpp +++ b/media/libstagefright/omx/OMXNodeInstance.cpp
@@ -1184,7 +1184,6 @@ } CHECK_EQ(header->pAppPrivate, buffer_meta); - memset(header->pBuffer, 0, header->nAllocLen); *buffer = makeBufferID(header);