libx265: Properly handled dynamic linking with MSVC
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
0f7fa48cf1
commit
8aca00cc2b
@ -29,6 +29,10 @@
|
|||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#define X265_API_IMPORTS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct libx265Context {
|
typedef struct libx265Context {
|
||||||
const AVClass *class;
|
const AVClass *class;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user