[MPlayer-dev-eng] [PATCH] yadif wrong ifdef

Reimar D?ffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Sep 22 11:02:08 CEST 2006


Hello,
I think vf_yadif currently won't compile when HAVE_MMX is set but
NAMED_ASM_ARGS isn't.
Attached patch fixes, I will apply tomorrow at latest if there are no
comments.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/vf_yadif.c
===================================================================
--- libmpcodecs/vf_yadif.c	(revision 19923)
+++ libmpcodecs/vf_yadif.c	(working copy)
@@ -481,7 +484,7 @@
     if (args) sscanf(args, "%d:%d", &vf->priv->mode, &vf->priv->parity);
 
     filter_line = filter_line_c;
-#ifdef HAVE_MMX
+#if defined(HAVE_MMX) && defined(NAMED_ASM_ARGS)
     if(gCpuCaps.hasMMX2) filter_line = filter_line_mmx2;
 #endif
 


More information about the MPlayer-dev-eng mailing list