libx265: Properly handled dynamic linking with MSVC

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
Derek Buitenhuis 2014-02-21 12:11:00 -05:00
parent 0f7fa48cf1
commit 8aca00cc2b

View File

@ -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;