* use vcpkg to install ffmpeg and build sdk from source, so no prebuild lib in hwcodec. * link ffmpeg in rustdesk directly, ffmpeg can be used as basic library. * for windows developers, `VCPKG_DEFAULT_HOST_TRIPLET` env need to be set to `x64-windows-static` during installation. Signed-off-by: 21pages <sunboeasy@gmail.com>
14 lines
306 B
Diff
14 lines
306 B
Diff
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
|
|
--- a/fftools/cmdutils.c
|
|
+++ b/fftools/cmdutils.c
|
|
@@ -51,6 +51,8 @@
|
|
#include "fopen_utf8.h"
|
|
#include "opt_common.h"
|
|
#ifdef _WIN32
|
|
+#define _WIN32_WINNT 0x0502
|
|
+#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
#include "compat/w32dlfcn.h"
|
|
#endif
|
|
|