commit | 5049389b24a473fe062304274f1624da45e38ecd | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Oct 13 23:39:48 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Oct 13 23:39:48 2020 +0000 |
tree | b6439a473d06e4d2344de42c7c4f4e96167aa306 | |
parent | d31de2b8a3f7ecc17ab9d476ff8e15c0e334985f [diff] | |
parent | 869f1691ab5f731a0124adecb44c57f288242a84 [diff] |
Merge "codec2: fix uninitialized member in C2PlatformStorePlguinLoader" am: 869f1691ab Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1458982 Change-Id: I1a65cdf050a9e35dfab82fee17e9a30779130359
diff --git a/media/codec2/vndk/C2PlatformStorePluginLoader.cpp b/media/codec2/vndk/C2PlatformStorePluginLoader.cpp index 4c330e5..bee028a 100644 --- a/media/codec2/vndk/C2PlatformStorePluginLoader.cpp +++ b/media/codec2/vndk/C2PlatformStorePluginLoader.cpp
@@ -33,7 +33,8 @@ } // unnamed C2PlatformStorePluginLoader::C2PlatformStorePluginLoader(const char *libPath) - : mCreateBlockPool(nullptr) { + : mCreateBlockPool(nullptr), + mCreateAllocator(nullptr) { mLibHandle = dlopen(libPath, RTLD_NOW | RTLD_NODELETE); if (mLibHandle == nullptr) { ALOGD("Failed to load library: %s (%s)", libPath, dlerror());