summarylogtreecommitdiffstats
path: root/060-ffmpeg-fix-segfault-with-avisynthplus.patch
diff options
context:
space:
mode:
authoregnappahz2023-10-02 09:16:33 +0200
committeregnappahz2023-10-02 09:16:33 +0200
commit6580d9b701c79f009410994eebd4f08278fcb1db (patch)
tree09fed3b982cb88a88042294c7b4b531d8f598f62 /060-ffmpeg-fix-segfault-with-avisynthplus.patch
parente07ab43f9c0ef1b75237b6ee6a172a1399f80888 (diff)
downloadaur-6580d9b701c79f009410994eebd4f08278fcb1db.tar.gz
Updated
Diffstat (limited to '060-ffmpeg-fix-segfault-with-avisynthplus.patch')
-rw-r--r--060-ffmpeg-fix-segfault-with-avisynthplus.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/060-ffmpeg-fix-segfault-with-avisynthplus.patch b/060-ffmpeg-fix-segfault-with-avisynthplus.patch
new file mode 100644
index 000000000000..a753a04e6cee
--- /dev/null
+++ b/060-ffmpeg-fix-segfault-with-avisynthplus.patch
@@ -0,0 +1,10 @@
+--- 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;