Skip to content

Instantly share code, notes, and snippets.

@Asd-g
Asd-g / libplacebo_msvc.patch
Last active July 17, 2022 17:37
libplacebo_msvc (v4.208.0)
diff --git a/src/filters.c b/src/filters.c
index 3cac1de..aaec3ff 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -34,6 +34,7 @@
* - https://github.com/AviSynth/jinc-resize (only used to verify the math)
*/
+#define _USE_MATH_DEFINES
#include <math.h>