summarylogtreecommitdiffstats
path: root/060-ffmpeg-fix-segfault-with-avisynthplus.patch
diff options
context:
space:
mode:
authorNathaniel Chin2022-07-30 17:21:42 +0800
committerNathaniel Chin2022-07-30 17:21:42 +0800
commit30b7764f4463d5498ce307d74897b1d73d94bda3 (patch)
tree3fd6faa93f91add4f19333272d965fdcc7dbe043 /060-ffmpeg-fix-segfault-with-avisynthplus.patch
parent0c3efb91c8cdbaa430bf863e974e39b73bf6f1f8 (diff)
downloadaur-30b7764f4463d5498ce307d74897b1d73d94bda3.tar.gz
Update to 5.1
Diffstat (limited to '060-ffmpeg-fix-segfault-with-avisynthplus.patch')
-rw-r--r--060-ffmpeg-fix-segfault-with-avisynthplus.patch11
1 files changed, 11 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..2404112a4236
--- /dev/null
+++ b/060-ffmpeg-fix-segfault-with-avisynthplus.patch
@@ -0,0 +1,11 @@
+--- a/libavformat/avisynth.c
++++ b/libavformat/avisynth.c
+@@ -127,7 +127,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;
+