summarylogtreecommitdiffstats
path: root/060-ffmpeg-fix-segfault-with-avisynthplus.patch
blob: 9e2ddb399c9e90eb42a02b8afe37c35db12c702a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -142,7 +142,7 @@ static av_cold void avisynth_atexit_handler(void);
 
 static av_cold int avisynth_load_library(void)
 {
-    avs_library.library = dlopen(AVISYNTH_LIB, RTLD_NOW | RTLD_LOCAL);
+    avs_library.library = dlopen(AVISYNTH_LIB, RTLD_NOW | RTLD_DEEPBIND);
     if (!avs_library.library)
         return AVERROR_UNKNOWN;