ffmpeg | branch: master | Martin Storsjö <[email protected]> | 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ö <[email protected]>

> 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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to