diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2014-02-21 12:11:00 -0500 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2014-02-24 11:10:23 -0500 |
commit | 87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7 (patch) | |
tree | fbe494dd929ed651955b2538d510d5714653bcdc | |
parent | 73ee4cf3073bd3b98580cd0b31521972746bd2d4 (diff) | |
download | ffmpeg-87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7.tar.gz |
libx265: Properly handled dynamic linking with MSVC
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavcodec/libx265.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index cc4e61e23b..2a5ae06dc6 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -29,6 +29,10 @@ #include "avcodec.h" #include "internal.h" +#if defined(_MSC_VER) +#define X265_API_IMPORTS 1 +#endif + typedef struct libx265Context { const AVClass *class; |