vlc/vlc-2.2 | branch: master | Steve Lhomme <[email protected]> | Thu Apr  6 
13:03:42 2017 +0200| [d679498996956ac2b448059b839383b54718339a] | committer: 
Hugo Beauzée-Luyssen

dxva2: include d3d9.h before dxva2api.h

Manually cherry-picked from e9228cad3421b0d5f0a01b0d7461d8ba0084c501

Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=d679498996956ac2b448059b839383b54718339a
---

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6dfd441..d3f8685 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2431,7 +2431,7 @@ AS_IF([test "${enable_dxva2}" != "no"], [
     AS_IF([test "${enable_dxva2}" = "yes"],
               [AC_MSG_ERROR([Could not find required dxva2api.h])],
               [AC_MSG_WARN([dxva2api.h not found])])
-      ])
+      ], [#include <d3d9.h>])
   ],[
     AS_IF([test "x${enable_dxva2}" != "x"], [
       AC_MSG_ERROR([--enable-dxva2 and --disable-avcodec options are mutually 
exclusive.])

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to