Commit 508c815d authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '9b4b96c0'

* commit '9b4b96c0':
  force WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP to be able to use dxva.h

Conflicts:
	libavcodec/dxva2_internal.h

See: c5327df8Merged-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parents dc07e576 9b4b96c0
......@@ -38,9 +38,11 @@
#endif
#if HAVE_DXVA_H
/* dxva.h defines nothing otherwise but it works */
/* When targeting WINAPI_FAMILY_PHONE_APP or WINAPI_FAMILY_APP, dxva.h
* defines nothing. Force the struct definitions to be visible. */
#undef WINAPI_FAMILY
#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
#undef _CRT_BUILD_DESKTOP_APP
#define _CRT_BUILD_DESKTOP_APP 0
#include <dxva.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment