vcpkg/ports/ffmpeg/0003-fix-windowsinclude.patch
omartijn 5d7ad6b5ae
[ffmpeg] Update to 4.4.3 (#27713)
* Update ffmpeg to 4.4.3

- Backport fix for h.264 hardware decoding on M1 macs
- ffmpeg links against built-in atomic, not a findable lib

* add missing extension for new patch

* version!

Co-authored-by: Martijn Otto <martijn@resolume.com>
Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
2022-11-14 14:29:28 -08:00

14 lines
291 B
Diff

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index fe424b6..2df70df 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -60,6 +60,8 @@
#include <sys/resource.h>
#endif
#ifdef _WIN32
+#define _WIN32_WINNT 0x0502
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif