This structure is well defined by Microsoft on:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff564012(v=vs.85).aspx

Only the VC1 decoder would depend on this check, while also the MPEG-2
decoder uses that struct member.

Finally, the check breaks with mingw-w64 header as this header is under #if
_WIN32_WINNT >= 0x600
The header and its features don't have to exist when targetting a windows
version < Vista since DXVA2 appeared in Vista (and is absent from XP).
---
 configure |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index b1da509..98ae2a8 100755
--- a/configure
+++ b/configure
@@ -1380,7 +1380,7 @@ truehd_decoder_select="mlp_decoder"
 tscc_decoder_select="zlib"
 twinvq_decoder_select="mdct lsp sinewin"
 vc1_decoder_select="h263_decoder h264chroma"
-vc1_dxva2_hwaccel_deps="dxva2api_h DXVA_PictureParameters_wDecodedPictureIndex"
+vc1_dxva2_hwaccel_deps="dxva2api_h"
 vc1_dxva2_hwaccel_select="dxva2 vc1_decoder"
 vc1_vaapi_hwaccel_select="vaapi vc1_decoder"
 vc1_vdpau_decoder_select="vdpau vc1_decoder"
@@ -2881,8 +2881,6 @@ check_header vdpau/vdpau.h
 check_header vdpau/vdpau_x11.h
 check_header X11/extensions/XvMClib.h
 
-check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
-
 disabled  zlib || check_lib   zlib.h      zlibVersion -lz   || disable  zlib
 disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
 
-- 
1.7.8.3
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to