[vlc-commits] Use force_align_arg_pointer for yadif crash on Windows XP
Naohiro KORIYAMA
git at videolan.org
Wed Jan 11 02:40:52 CET 2012
vlc | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Tue Jan 10 15:11:04 2012 +0900| [cef4b56a6f7b467300858bf125aaa7098481cb5d] | committer: Rafaël Carré
Use force_align_arg_pointer for yadif crash on Windows XP
This patch affects only on MinGW win32 builds.
Fixes #5793.
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cef4b56a6f7b467300858bf125aaa7098481cb5d
---
modules/video_filter/deinterlace/yadif_template.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/video_filter/deinterlace/yadif_template.h b/modules/video_filter/deinterlace/yadif_template.h
index de6bb4a..f70d249 100644
--- a/modules/video_filter/deinterlace/yadif_template.h
+++ b/modules/video_filter/deinterlace/yadif_template.h
@@ -106,6 +106,9 @@
"por "MM"5, "MM"3 \n\t"\
MOVQ" "MM"3, "MM"1 \n\t"
+#if defined(__MINGW32__) && defined(WIN32) && !defined(WIN64)
+__attribute__((__force_align_arg_pointer__))
+#endif
VLC_TARGET static void RENAME(yadif_filter_line)(uint8_t *dst,
uint8_t *prev, uint8_t *cur, uint8_t *next,
int w, int prefs, int mrefs, int parity, int mode)
More information about the vlc-commits
mailing list