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:10:23 +0000 (11:10 -0500)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/libx265.c

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