Disable MMXEXT (MMX2) mode for swScaler since it crashes.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 18 Nov 2007 21:35:16 +0000 (21:35 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 18 Nov 2007 21:35:16 +0000 (21:35 +0000)
modules/codec/ffmpeg/scale.c

index 40b1c69..96b3d0b 100644 (file)
@@ -111,7 +111,6 @@ int E_(OpenScaler)( vlc_object_t *p_this )
     }
 
     swscale_fast_memcpy = p_filter->p_libvlc->pf_memcpy;
-
     /* Set CPU capabilities */
     i_cpu = vlc_CPU();
     p_sys->i_cpu_mask = 0;
@@ -119,10 +118,12 @@ int E_(OpenScaler)( vlc_object_t *p_this )
     {
         p_sys->i_cpu_mask |= SWS_CPU_CAPS_MMX;
     }
+#if 0
     if( i_cpu & CPU_CAPABILITY_MMXEXT )
     {
         p_sys->i_cpu_mask |= SWS_CPU_CAPS_MMX2;
     }
+#endif
     if( i_cpu & CPU_CAPABILITY_3DNOW )
     {
         p_sys->i_cpu_mask |= SWS_CPU_CAPS_3DNOW;