[x264-devel] Fix possible alignment crash when linking from MSVC
Jason Garrett-Glaser
git at videolan.org
Wed Mar 7 03:20:13 CET 2012
x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Thu Feb 23 09:11:23 2012 -0800| [01f7a333e6c6a6d91a7fe977b491a448ddf4c117] | committer: Jason Garrett-Glaser
Fix possible alignment crash when linking from MSVC
x264_cavlc_init needs to be stack-aligned now.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=01f7a333e6c6a6d91a7fe977b491a448ddf4c117
---
encoder/encoder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/encoder/encoder.c b/encoder/encoder.c
index c97d6f4..4ef933b 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -1186,7 +1186,7 @@ x264_t *x264_encoder_open( x264_param_t *param )
if( h->param.b_cabac )
x264_cabac_init( h );
else
- x264_cavlc_init( h );
+ x264_stack_align( x264_cavlc_init, h );
mbcmp_init( h );
chroma_dsp_init( h );
More information about the x264-devel
mailing list