aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-02-21 12:11:00 -0500
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-02-24 11:10:23 -0500
commit87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7 (patch)
treefbe494dd929ed651955b2538d510d5714653bcdc
parent73ee4cf3073bd3b98580cd0b31521972746bd2d4 (diff)
downloadffmpeg-87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7.tar.gz
libx265: Properly handled dynamic linking with MSVC
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r--libavcodec/libx265.c4
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;