[vlc-commits] deinterlace: fix MSVC compilation
Steve Lhomme
git at videolan.org
Mon Mar 30 15:09:30 CEST 2015
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | 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 <hugo at beauzee.fr>
> 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;
More information about the vlc-commits
mailing list