[x264-devel] commit: Add missing mod4 stack check to sse2_misalign mc_chroma ( Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Sun Oct 10 23:47:34 CEST 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sun Oct 10 04:39:36 2010 -0700| [db224e344cac5277af80f75a67c67e7d29deffdd] | committer: Jason Garrett-Glaser 

Add missing mod4 stack check to sse2_misalign mc_chroma
Required for ICC compilation.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=db224e344cac5277af80f75a67c67e7d29deffdd
---

 common/x86/mc-c.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/common/x86/mc-c.c b/common/x86/mc-c.c
index 1b25df7..7ea2c86 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;
         }
     }
 



More information about the x264-devel mailing list