Commit ad227003 authored by Rafaël Carré's avatar Rafaël Carré

dxva2: workaround broken definition in mingw-w64 header

(cherry picked from commit 9dc8b9bc27270752415d1fbc9629d9d35a6d8251)
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent b2999095
......@@ -66,6 +66,14 @@
#include <shlwapi.h>
#include <d3d9.h>
#ifdef __MINGW32__
# include <_mingw.h>
# if defined(__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR < 3
# undef IDirect3DDeviceManager9_Release
# define IDirect3DDeviceManager9_Release(This) (This)->lpVtbl->Release(This)
# endif
#endif
/* */
#define DXVA2_E_NOT_INITIALIZED MAKE_HRESULT(1, 4, 4096)
#define DXVA2_E_NEW_VIDEO_DEVICE MAKE_HRESULT(1, 4, 4097)
......
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