Fix the macro to prevent unnecessary headers from being included by <windows.h>. This reduces compilation time and may prevent future bugs due to unexpected includes.
@@ -25,7 +25,7 @@
#include "media-io/video-frame.h"
#ifdef _WIN32
-#define WIN32_MEAN_AND_LEAN
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
@@ -1,6 +1,6 @@
#include "dc-capture.h"
static inline void init_textures(struct dc_capture *capture)
#pragma once
#include <initguid.h>
#include <mmdeviceapi.h>