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

Rémi Denis-Courmont remi at remlab.net
Tue Mar 14 16:42:13 CET 2017


Le tiistaina 14. maaliskuuta 2017, 15.16.42 EET Steve Lhomme a écrit :
> From: Steve Lhomme <slhomme at matroska.org>
> 
> PLANES is a different macro in wingdi.h

This seems like a big kludge.

Why is wingdi.h included there in the first place?


> ---
>  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)

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list