[FFmpeg-devel] [PATCH]Fix dxva2 detection

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Sep 12 23:56:18 CEST 2011


Hi!

I needed this patch on Win64, any objections?
See libavcodec/dxva2_internal.h, line 26.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index cc00b5b..2843794 100755
--- a/configure
+++ b/configure
@@ -2853,7 +2853,7 @@ check_func_headers windows.h MapViewOfFile
 check_func_headers windows.h VirtualAlloc
 
 check_header dlfcn.h
-check_header dxva2api.h
+check_header dxva2api.h -D_WIN32_WINNT=0x0600
 check_header libcrystalhd/libcrystalhd_if.h
 check_header malloc.h
 check_header poll.h


More information about the ffmpeg-devel mailing list