avisynth: Use RTLD_LOCAL instead of RTLD_GLOBAL
[ffmpeg.git] / libavformat / avisynth.c
index f94f7b7..c66f65d 100644 (file)
@@ -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