Commit 9aa30ff3 authored by Rafaël Carré's avatar Rafaël Carré

dxva2: include needed headers

For mingw.org, we ship a single dxva2api.h which contains stuff
normally present in dxva.h, so skip dxva.h.
parent 7a216cf6
......@@ -61,6 +61,7 @@
#include <commctrl.h>
#include <shlwapi.h>
#include <d3d9.h>
#include <dxva2api.h>
#include <initguid.h> /* must be last included to not redefine existing GUIDs */
......@@ -75,6 +76,8 @@
# undef MS_GUID
# define MS_GUID DEFINE_GUID /* dxva2api.h fails to declare those, redefine as static */
# define DXVA2_E_NEW_VIDEO_DEVICE MAKE_HRESULT(1, 4, 4097)
# else
# include <dxva.h>
# endif
#endif /* __MINGW32__ */
......
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