From: Jason Garrett-Glaser Date: Thu, 23 Feb 2012 17:11:23 +0000 (-0800) Subject: Fix possible alignment crash when linking from MSVC X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=01f7a333e6c6a6d91a7fe977b491a448ddf4c117;p=x264.git Fix possible alignment crash when linking from MSVC x264_cavlc_init needs to be stack-aligned now. --- 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 );