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

Steve Lhomme robux4 at gmail.com
Tue Mar 14 17:30:07 CET 2017


On Tue, Mar 14, 2017 at 4:42 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> 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.

Indeed, it was a warning, I thought it was an error. That's why I
didn't understand it worked so far without this...

> 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/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list