Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba8b0227 authored by Steve Kondik's avatar Steve Kondik
Browse files

Silence error when DASH player isn't present

Change-Id: I9e5c22af1a5cf916b0efaec7ca1c5f48f6d0c82a
parent bcf05171
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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) {