diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-17 13:32:06 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2015-04-15 14:52:57 +0200 |
commit | 247aa7af7d8197247c181e3fbfe8d93d75e41b29 (patch) | |
tree | 786e2712aecb4389aa59f1232b30daad1f30b603 /libavformat | |
parent | ec89f35e3e5eb9ec5221266e801efeee7ecab4df (diff) | |
download | ffmpeg-247aa7af7d8197247c181e3fbfe8d93d75e41b29.tar.gz |
avisynth: Simplify shared library name construction
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avisynth.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index a5cf4e728a..1a6a73f53e 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -23,6 +23,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 @@ -37,11 +38,8 @@ #else #include <dlfcn.h> #include <avxsynth/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 |