[vlc-devel] [PATCH] deinterlace: fix MSVC compilation

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Mar 27 11:26:02 CET 2015


On Fri, Mar 27, 2015, at 08:57 AM, Steve Lhomme wrote:
> ---
>  modules/video_filter/deinterlace/yadif.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/modules/video_filter/deinterlace/yadif.h
> b/modules/video_filter/deinterlace/yadif.h
> index d91c147..05e5492 100644
> --- a/modules/video_filter/deinterlace/yadif.h
> +++ b/modules/video_filter/deinterlace/yadif.h
> @@ -29,6 +29,8 @@
>  #  else
>  #    define DECLARE_ASM_CONST(n,t,v)    static const t __attribute__
>  ((aligned (n))) v
>  #  endif
> +#elif defined(_MSC_VER)
> +#    define DECLARE_ASM_CONST(n,t,v)    __declspec(align(n)) static
> const t v
>  #endif
>  
>  typedef intptr_t x86_reg;
> -- 
> 2.3.4
> 

LGTM.

Regards,

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr



More information about the vlc-devel mailing list