summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/WVMExtractor.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-23 10:03:20 -0700
committerElliott Hughes <enh@google.com>2013-10-23 10:03:20 -0700
commita77f7031c15dc8ead0228d6e15f41577bff511f2 (patch)
tree717b7fbb242a45d02efe6396e783ce1b084f396b /media/libstagefright/WVMExtractor.cpp
parent0f4b0d238613cd98fe0b8931f7e6cbcc8b9ad7b1 (diff)
downloadframeworks_av-a77f7031c15dc8ead0228d6e15f41577bff511f2.zip
frameworks_av-a77f7031c15dc8ead0228d6e15f41577bff511f2.tar.gz
frameworks_av-a77f7031c15dc8ead0228d6e15f41577bff511f2.tar.bz2
If dlopen("libwvm.so") fails, log the reason why.
Bug: 11342992 Change-Id: I99986b6181df6d7615fdc1520d2edaadaccd9bb4
Diffstat (limited to 'media/libstagefright/WVMExtractor.cpp')
-rw-r--r--media/libstagefright/WVMExtractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/WVMExtractor.cpp b/media/libstagefright/WVMExtractor.cpp
index 5ae80cc..bc48272 100644
--- a/media/libstagefright/WVMExtractor.cpp
+++ b/media/libstagefright/WVMExtractor.cpp
@@ -76,7 +76,7 @@ static void init_routine()
{
gVendorLibHandle = dlopen("libwvm.so", RTLD_NOW);
if (gVendorLibHandle == NULL) {
- ALOGE("Failed to open libwvm.so");
+ ALOGE("Failed to open libwvm.so: %s", dlerror());
}
}