diff --git a/libavcodec/mf_utils.c b/libavcodec/mf_utils.c index eeabd0c..ea3a03b 100644 --- a/libavcodec/mf_utils.c +++ b/libavcodec/mf_utils.c @@ -22,6 +22,11 @@ #define _WIN32_WINNT 0x0602 #endif +#if !defined(WINVER) || WINVER < 0x0602 +#undef WINVER +#define WINVER 0x0602 +#endif + #include "mf_utils.h" #include "libavutil/pixdesc.h"