vlc | branch: master | Steve Lhomme <[email protected]> | Thu Mar 26 18:41:13 
2015 +0100| [5874981d1a6b777b828229a6d7f86a522d70549a] | committer: Hugo 
Beauzée-Luyssen

deinterlace: fix MSVC compilation

Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5874981d1a6b777b828229a6d7f86a522d70549a
---

 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to