OSDN Git Service

libx265: Properly handled dynamic linking with MSVC
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 21 Feb 2014 17:11:00 +0000 (12:11 -0500)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Mon, 24 Feb 2014 16:07:33 +0000 (11:07 -0500)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/libx265.c

index 2846c34..961fc74 100644 (file)
 #include "avcodec.h"
 #include "internal.h"
 
+#if defined(_MSC_VER)
+#define X265_API_IMPORTS 1
+#endif
+
 typedef struct libx265Context {
     const AVClass *class;