summarylogtreecommitdiffstats
path: root/060-ffmpeg-fix-segfault-with-avisynthplus.patch
diff options
context:
space:
mode:
authorDaniel Bermond2022-03-20 16:50:43 -0300
committerDaniel Bermond2022-03-20 16:50:43 -0300
commit4a7adcfdfe7d96d6256447b8acb8b8e35ea004df (patch)
treeaaadbb5dff7142e8baa600bfa4e9bb61cd577f8e /060-ffmpeg-fix-segfault-with-avisynthplus.patch
parentfa344ecf3bcb155ef210ca92dc27cd66c55174ae (diff)
downloadaur-4a7adcfdfe7d96d6256447b8acb8b8e35ea004df.tar.gz
Add fix for avisynthplus and temporarily disable svt-vp9
It currently fails to build with svt-vp9. Upstream patch needs to be updated to match ffmpeg git master.
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..1a43237953e4
--- /dev/null
+++ b/060-ffmpeg-fix-segfault-with-avisynthplus.patch
@@ -0,0 +1,11 @@
+--- a/libavformat/avisynth.c
++++ b/libavformat/avisynth.c
+@@ -121,7 +121,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;
+