mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 00:39:00 +08:00
8c3b87c95a
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
|
|
|