From f2ad1495f23376ce61542967f4fc14205f284d40 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 1 Jan 2015 00:58:06 +0200 Subject: avisynth: Use RTLD_LOCAL instead of RTLD_GLOBAL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There shouldn't be any need to add the loaded libraries to the global symbol namespace. Signed-off-by: Martin Storsjö --- libavformat/avisynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index f94f7b786d..c66f65d838 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -52,7 +52,7 @@ #define AVISYNTH_LIB "libavxsynth.so" #endif - #define LoadLibrary(x) dlopen(x, RTLD_NOW | RTLD_GLOBAL) + #define LoadLibrary(x) dlopen(x, RTLD_NOW | RTLD_LOCAL) #define GetProcAddress dlsym #define FreeLibrary dlclose #endif -- cgit v1.2.3