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

Steve Lhomme robux4 at videolabs.io
Fri Mar 27 16:01:18 CET 2015


sent twice by accident

On Thu, Mar 26, 2015 at 6:41 PM, Steve Lhomme <robUx4 at videolabs.io> 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
>
> _______________________________________________
> 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