]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avisynth.c
Merge commit 'd90133b77bf69667d10e54de9aae7da223c6876a'
[ffmpeg] / libavformat / avisynth.c
index 4af58f62f77ba4114158b2e451ca44a6db52677a..7dc5ee7df623193e58865c658cac5d0f9f9a4b06 100644 (file)
@@ -22,6 +22,7 @@
 #include "libavcodec/internal.h"
 #include "avformat.h"
 #include "internal.h"
+#include "config.h"
 
 /* Enable function pointer definitions for runtime loading. */
 #define AVSC_NO_DECLSPEC
 #else
   #include <dlfcn.h>
   #include "compat/avisynth/avxsynth_c.h"
-    #if defined (__APPLE__)
-      #define AVISYNTH_LIB "libavxsynth.dylib"
-    #else
-      #define AVISYNTH_LIB "libavxsynth.so"
-    #endif
+  #define AVISYNTH_NAME "libavxsynth"
+  #define AVISYNTH_LIB AVISYNTH_NAME SLIBSUF
 
   #define LoadLibrary(x) dlopen(x, RTLD_NOW | RTLD_LOCAL)
   #define GetProcAddress dlsym