changeset 15962:08338441314b

#ifdef HAVE_MMX
author michael
date Mon, 11 Jul 2005 10:21:14 +0000
parents 9f708f9e185b
children 02066fe870f5
files libmpcodecs/vf_pp7.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_pp7.c	Sun Jul 10 21:41:01 2005 +0000
+++ b/libmpcodecs/vf_pp7.c	Mon Jul 11 10:21:14 2005 +0000
@@ -152,6 +152,7 @@
     }
 }
 
+#ifdef HAVE_MMX
 static void dctB_mmx(DCTELEM *dst, DCTELEM *src){
     asm volatile (
         "movq  (%0), %%mm0      \n\t"
@@ -183,6 +184,7 @@
         :: "r" (src), "r"(dst)
     );
 }
+#endif
 
 static void (*dctB)(DCTELEM *dst, DCTELEM *src)= dctB_c;