diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 2846c340a5..961fc746b6 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -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;