]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dxva2_internal.h
Merge commit '86157e6db2c7a9222f77fa7e7f50fb9aebc3aa81'
[ffmpeg] / libavcodec / dxva2_internal.h
index 5df24c5f533dd685fb264fdd290ff1f19cfc7310..ac1f77c6a120d2c464d951bb8993a2cc1d77b309 100644 (file)
 
 #if CONFIG_DXVA2
 #include "dxva2.h"
+#endif
+#if CONFIG_D3D11VA
+#include "d3d11va.h"
+#endif
+#if HAVE_DXVA_H
 /* When targeting WINAPI_FAMILY_PHONE_APP or WINAPI_FAMILY_APP, dxva.h
  * defines nothing. Force the struct definitions to be visible. */
 #undef WINAPI_FAMILY
@@ -40,9 +45,6 @@
 #define _CRT_BUILD_DESKTOP_APP 0
 #include <dxva.h>
 #endif
-#if CONFIG_D3D11VA
-#include "d3d11va.h"
-#endif
 
 #include "avcodec.h"