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

Commit 2bdc3e1a authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am e205dd34: am 06169761: Merge "Fix the simulator build broken by commit...

am e205dd34: am 06169761: Merge "Fix the simulator build broken by commit 5fe37c68" into kraken
parents bb3a8c5e e205dd34
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <cutils/log.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <new>
#include "AudioEqualizer.h"
#include "AudioBiquadFilter.h"
+3 −1
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
//#define LOG_NDEBUG 0

#include "EffectsFactory.h"
#include <string.h>
#include <stdlib.h>
#include <dlfcn.h>


@@ -277,7 +279,7 @@ int EffectLoadLibrary(const char *libPath, int *handle)
    if (ret < 0) {
        return ret;
    }
    if (libPath == NULL || strnlen(libPath, PATH_MAX) >= PATH_MAX) {
    if (libPath == NULL) {
        return -EINVAL;
    }
    return loadLibrary(libPath, handle);