]> git.videolan.org Git - x264.git/commitdiff
Add missing mod4 stack check to sse2_misalign mc_chroma
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sun, 10 Oct 2010 11:39:36 +0000 (04:39 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sun, 10 Oct 2010 21:43:46 +0000 (14:43 -0700)
Required for ICC compilation.

common/x86/mc-c.c

index 1b25df7072970f3d35be2d06691056d855194189..7ea2c868155a0a68e8c644eace30f08ff9fcff9e 100644 (file)
@@ -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;
         }
     }