From: Jason Garrett-Glaser Date: Sun, 10 Oct 2010 11:39:36 +0000 (-0700) Subject: Add missing mod4 stack check to sse2_misalign mc_chroma X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=db224e344cac5277af80f75a67c67e7d29deffdd;p=x264.git Add missing mod4 stack check to sse2_misalign mc_chroma Required for ICC compilation. --- diff --git a/common/x86/mc-c.c b/common/x86/mc-c.c index 1b25df70..7ea2c868 100644 --- a/common/x86/mc-c.c +++ b/common/x86/mc-c.c @@ -528,7 +528,8 @@ void x264_mc_init_mmx( int cpu, x264_mc_functions_t *pf ) if( cpu&X264_CPU_SSE_MISALIGN ) { pf->get_ref = get_ref_sse2_misalign; - pf->mc_chroma = x264_mc_chroma_sse2_misalign; + if( !(cpu&X264_CPU_STACK_MOD4) ) + pf->mc_chroma = x264_mc_chroma_sse2_misalign; } }