diff imgresample.c @ 2:2e2c46c87460 libavcodec

fixed config for direct mplayer build compatibility
author glantau
date Mon, 23 Jul 2001 20:06:54 +0000
parents 986e461dc072
children b69fe46fd708
line wrap: on
line diff
--- a/imgresample.c	Mon Jul 23 18:58:11 2001 +0000
+++ b/imgresample.c	Mon Jul 23 20:06:54 2001 +0000
@@ -130,7 +130,7 @@
     }
 }
 
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
 
 #include "i386/mmx.h"
 
@@ -317,7 +317,7 @@
     } else {
         n = dst_width;
     }
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
     if ((mm_flags & MM_MMX) && NB_TAPS == 4)
         h_resample_fast4_mmx(dst, n, 
                              src, src_width, src_start, src_incr, filters);
@@ -374,7 +374,7 @@
         }
         /* apply vertical filter */
         phase_y = get_phase(src_y);
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
         /* desactivated MMX because loss of precision */
         if ((mm_flags & MM_MMX) && NB_TAPS == 4 && 0)
             v_resample4_mmx(output, owidth, 
@@ -516,7 +516,7 @@
     }
 }
 
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
 int mm_flags;
 #endif
 
@@ -588,7 +588,7 @@
     }
 
     /* mmx test */
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
     printf("MMX test\n");
     fact = 0.72;
     xsize = (int)(XSIZE * fact);