Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-02-21 21:11:00 +0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-02-24 20:10:23 +0400
commit87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7 (patch)
treefbe494dd929ed651955b2538d510d5714653bcdc /libavcodec
parent73ee4cf3073bd3b98580cd0b31521972746bd2d4 (diff)
libx265: Properly handled dynamic linking with MSVC
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec')
-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;