summarylogtreecommitdiffstats
path: root/050-ffmpeg-fix-segfault-with-avisynthplus.patch
blob: e184b05f94075f9e09ec8bebf9af4a276b3414a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -120,7 +120,7 @@ typedef struct AviSynthContext {
 
 static av_cold int avisynth_load_library(AviSynthContext *avs)
 {
-    avs->avs_library.library = dlopen(AVISYNTH_LIB, RTLD_NOW | RTLD_LOCAL);
+    avs->avs_library.library = dlopen(AVISYNTH_LIB, RTLD_NOW | RTLD_DEEPBIND);
     if (!avs->avs_library.library)
         return AVERROR_UNKNOWN;