[vlc-commits] transform: fix warning when compiling for Windows

Steve Lhomme git at videolan.org
Wed Jul 3 11:54:21 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jul  1 10:00:22 2019 +0200| [7502de3aff362048c598e5dfdecc9e4feec64139] | committer: Steve Lhomme

transform: fix warning when compiling for Windows

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7502de3aff362048c598e5dfdecc9e4feec64139
---

 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 346a89c241..e0da546823 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 // already exists on Windows
 #define PLANES(f) \
 PLANE(f,8) PLANE(f,16) PLANE(f,32)
 



More information about the vlc-commits mailing list