From 01f7a333e6c6a6d91a7fe977b491a448ddf4c117 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Thu, 23 Feb 2012 09:11:23 -0800 Subject: [PATCH] Fix possible alignment crash when linking from MSVC x264_cavlc_init needs to be stack-aligned now. --- encoder/encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoder/encoder.c b/encoder/encoder.c index c97d6f42..4ef933b9 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 ); -- 2.47.3