mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 00:37:49 +08:00
52034c287f
add new feature "ffmpeg" which allows to build "ffmpeg.exe" - ex. : vcpkg install ffmpeg[x264,gpl,nonfree,ffplay,ffprobe,openssl,lzma,opencl,ffmpeg]:x64-windows-static --recurse
20 lines
434 B
Diff
20 lines
434 B
Diff
--- a/ffmpeg_dxva2.c 2017-07-29 19:49:29.000000000 +0200
|
|
+++ b/ffmpeg_dxva2.c 2018-09-02 20:33:48.248716100 +0200
|
|
@@ -16,12 +16,14 @@
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
-#include <windows.h>
|
|
-
|
|
#ifdef _WIN32_WINNT
|
|
#undef _WIN32_WINNT
|
|
#endif
|
|
#define _WIN32_WINNT 0x0600
|
|
+#define WIN32_LEAN_AND_MEAN
|
|
+
|
|
+#include <windows.h>
|
|
+
|
|
#define DXVA2API_USE_BITFIELDS
|
|
#define COBJMACROS
|
|
|