[FFmpeg-cvslog] avisynth: Use RTLD_LOCAL instead of RTLD_GLOBAL

Martin Storsjö git at videolan.org
Sat Jan 3 14:03:09 CET 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Jan  1 00:58:06 2015 +0200| [f2ad1495f23376ce61542967f4fc14205f284d40] | committer: Martin Storsjö

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ö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2ad1495f23376ce61542967f4fc14205f284d40
---

 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



More information about the ffmpeg-cvslog mailing list