Module: libav
Branch: master
Commit: f2ad1495f23376ce61542967f4fc14205f284d40

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Thu Jan  1 00:58:06 2015 +0200

avisynth: Use RTLD_LOCAL instead of RTLD_GLOBAL

There shouldn't be any need to add the loaded libraries to the global
symbol namespace.

Signed-off-by: Martin Storsjö <[email protected]>

---

 libavformat/avisynth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index f94f7b7..c66f65d 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to