36e49ac179
Original patch for fixing nvidia vulkan decoding: https://github.com/streetpea/chiaki4deck/issues/239#issuecomment-1929365254 References ---------- [1] https://trac.ffmpeg.org/ticket/10847 [2] https://trac.ffmpeg.org/ticket/10970 [3] https://trac.ffmpeg.org/ticket/10876 [4] https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/eb7d019b326b0c34e07f2369f31e8ba266fa666b
12 lines
395 B
Diff
12 lines
395 B
Diff
--- 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;
|
|
|