diff options
| author | Griffin Downs <35574547+grdowns@users.noreply.github.com> | 2019-04-12 03:13:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-12 03:13:34 -0700 |
| commit | 637963244b5442d41f876b41f2622654e88f3074 (patch) | |
| tree | dbdc23ac9301748e06911a9d3fff05cd507b9121 /ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-3.patch | |
| parent | 7f02290c438845098b2b843152bd3bea96081af0 (diff) | |
| parent | 0e000644053015b7f7a0985e14f0bd384c847d17 (diff) | |
| download | vcpkg-637963244b5442d41f876b41f2622654e88f3074.tar.gz vcpkg-637963244b5442d41f876b41f2622654e88f3074.zip | |
Merge pull request #4217 from ptahmose/master
[ffmpeg] Add feature to build "ffmpeg.exe"
Diffstat (limited to 'ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-3.patch')
| -rw-r--r-- | ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-3.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-3.patch b/ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-3.patch new file mode 100644 index 000000000..78aa3d2d0 --- /dev/null +++ b/ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-3.patch @@ -0,0 +1,19 @@ +--- 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 + |
