summaryrefslogtreecommitdiff
path: root/libavformat/avisynth.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-01-01 00:58:06 +0200
committerMartin Storsjö <martin@martin.st>2015-01-03 02:30:03 +0200
commitf2ad1495f23376ce61542967f4fc14205f284d40 (patch)
tree744cf9f5d324c19008b8f54932df6c2adcbb31f0 /libavformat/avisynth.c
parent470c9db11ff2c3249e995e7ba68e87bb81bf778c (diff)
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@martin.st>
Diffstat (limited to 'libavformat/avisynth.c')
-rw-r--r--libavformat/avisynth.c2
1 files changed, 1 insertions, 1 deletions
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