changeset 19942:0983feab2dc2

Add forgotten emms which caused weird bugs like nan pts values.
author reimar
date Sat, 23 Sep 2006 09:18:20 +0000
parents 66d444e5ec8d
children ef30bef09385
files libmpcodecs/vf_yadif.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_yadif.c	Sat Sep 23 00:15:00 2006 +0000
+++ b/libmpcodecs/vf_yadif.c	Sat Sep 23 09:18:20 2006 +0000
@@ -366,6 +366,9 @@
             }
         }
     }
+#if defined(HAVE_MMX) && defined(NAMED_ASM_ARGS)
+    if(gCpuCaps.hasMMX2) asm volatile("emms \n\t" : : : "memory");
+#endif
 }
 
 static int config(struct vf_instance_s* vf,