[MPlayer-dev-eng] [PATCH] vf_yadif.c: forgotten emms/femms

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Sep 21 22:15:16 CEST 2006


Hello,
since the asm patch for yadif I kept getting nan for pts values all over
the place.
Seems the reason is a missing emms/femms.
Attached patch fixes it, but feel free to place it at a better place.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/vf_yadif.c
===================================================================
--- libmpcodecs/vf_yadif.c	(revision 19923)
+++ libmpcodecs/vf_yadif.c	(working copy)
@@ -276,6 +276,7 @@
 #undef prev2
 #undef next2
     }
+    asm volatile("emms \n\t" : : : "memory");
 }
 #undef LOAD4
 #undef PABS


More information about the MPlayer-dev-eng mailing list