summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-04-08 02:24:19 -0700
committerSteve Kondik <shade@chemlab.org>2013-04-08 02:24:19 -0700
commitba8b022736266d6dda1a1cd5986f8f999710db9f (patch)
treecf4adeced8efcda5f729b6b763ae447e17755552 /media
parentbcf051717a9fab03e032959ac2d3904c45e59ee5 (diff)
downloadframeworks_av-ba8b022736266d6dda1a1cd5986f8f999710db9f.zip
frameworks_av-ba8b022736266d6dda1a1cd5986f8f999710db9f.tar.gz
frameworks_av-ba8b022736266d6dda1a1cd5986f8f999710db9f.tar.bz2
Silence error when DASH player isn't present
Change-Id: I9e5c22af1a5cf916b0efaec7ca1c5f48f6d0c82a
Diffstat (limited to 'media')
-rw-r--r--media/libmediaplayerservice/MediaPlayerFactory.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerFactory.cpp b/media/libmediaplayerservice/MediaPlayerFactory.cpp
index 57f6743..ac6decdb3 100644
--- a/media/libmediaplayerservice/MediaPlayerFactory.cpp
+++ b/media/libmediaplayerservice/MediaPlayerFactory.cpp
@@ -343,9 +343,7 @@ void MediaPlayerFactory::registerBuiltinFactories() {
typedef MediaPlayerFactory::IFactory* (*CreateDASHDriverFn)();
pFactoryLib = ::dlopen(FACTORY_LIB, RTLD_LAZY);
- if (pFactoryLib == NULL) {
- ALOGE("Failed to open FACTORY_LIB Error : %s ",::dlerror());
- } else {
+ if (pFactoryLib != NULL) {
CreateDASHDriverFn pCreateFnPtr;
pCreateFnPtr = (CreateDASHDriverFn) dlsym(pFactoryLib, FACTORY_CREATE_FN);
if (pCreateFnPtr == NULL) {