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 73ee4cf307
commit 87769d6c8f
1 changed files with 4 additions and 0 deletions

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;