[vlc-devel] [PATCH] transform: fix Windows compilation

Steve Lhomme robux4 at videolabs.io
Tue Mar 14 15:16:42 CET 2017


From: Steve Lhomme <slhomme at matroska.org>

PLANES is a different macro in wingdi.h
---
 modules/video_filter/transform.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_filter/transform.c b/modules/video_filter/transform.c
index 7c88f234ef..c948393bc8 100644
--- a/modules/video_filter/transform.c
+++ b/modules/video_filter/transform.c
@@ -198,6 +198,7 @@ static void PlaneYUY2_##f(plane_t *restrict dst, const plane_t *restrict src) \
     } \
 }
 
+#undef PLANES
 #define PLANES(f) \
 PLANE(f,8) PLANE(f,16) PLANE(f,32)
 
-- 
2.11.1



More information about the vlc-devel mailing list