[vlc-devel] [PATCH] Support for newest freerdp snapshot

Francois Cartegnie fcvlcdev at free.fr
Sun Nov 30 12:20:20 CET 2014


Le 29/11/2014 21:33, Paweł Stankowski a écrit :
> Support for newest freerdp snapshot [part 2]
> 
> 'freerdp_channels_global_init' and '...uninit' functions were removed
> in version 1.2 of freerdp, because they had empty definitions.
> Checking whether FREERDP_VERSION_* macros are defined was wrong as old
> FreeRDP versions do not define these.
> 

> -#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && \
> -    !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 &&
> FREERDP_VERSION_MINOR >= 2))
> +#if !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 &&
> FREERDP_VERSION_MINOR >= 2))
>                  CLRBUF_24BPP |
>  #endif

Wrong according to your description and other fixed lines from the
patch. If those definitions do not exists in older versions, this will
break.

Francois



More information about the vlc-devel mailing list