]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hwcontext_d3d11va.c
avcodec: parse options from AVCodec.bsfs
[ffmpeg] / libavutil / hwcontext_d3d11va.c
index d39fdd3fc85a913d9fc4962639588a5681c94da7..b68d26280442cea63bedf324fd55d4052566248a 100644 (file)
 
 #include <windows.h>
 
-// Include thread.h before redefining _WIN32_WINNT, to get
-// the right implementation for AVOnce
-#include "thread.h"
-
-#if !defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0600
-#endif
 #define COBJMACROS
 
 #include <initguid.h>
@@ -46,6 +38,7 @@
 #include "imgutils.h"
 #include "pixdesc.h"
 #include "pixfmt.h"
+#include "thread.h"
 
 typedef HRESULT(WINAPI *PFN_CREATE_DXGI_FACTORY)(REFIID riid, void **ppFactory);