summaryrefslogtreecommitdiff
path: root/libavfilter/x86
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-09-27 21:50:26 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-09-27 21:50:26 +0000
commitfa6f4ebc08d228ce9795f1f4178d68e31407aeb9 (patch)
treed7c9445176b727e5a2e45a61f49e12beb7afefe5 /libavfilter/x86
parent236f79480b15df8996455168742d141bbf578df2 (diff)
use a Makefile in x86 subdir
Originally committed as revision 25234 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/x86')
-rw-r--r--libavfilter/x86/Makefile1
-rw-r--r--libavfilter/x86/yadif.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/x86/Makefile b/libavfilter/x86/Makefile
new file mode 100644
index 0000000000..716048cca2
--- /dev/null
+++ b/libavfilter/x86/Makefile
@@ -0,0 +1 @@
+MMX-OBJS-$(CONFIG_YADIF_FILTER) += x86/yadif.o
diff --git a/libavfilter/x86/yadif.c b/libavfilter/x86/yadif.c
index e92da8c1d6..55340cff80 100644
--- a/libavfilter/x86/yadif.c
+++ b/libavfilter/x86/yadif.c
@@ -22,8 +22,6 @@
#include "libavutil/x86_cpu.h"
#include "libavfilter/yadif.h"
-#if HAVE_MMX
-
#define LOAD4(mem,dst) \
"movd "mem", "#dst" \n\t"\
"punpcklbw %%mm7, "#dst" \n\t"
@@ -236,5 +234,3 @@ void ff_yadif_filter_line_mmx(uint8_t *dst,
#undef CHECK1
#undef CHECK2
#undef FILTER
-
-#endif /* HAVE_MMX */