aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-07-31 20:30:29 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-07-31 20:30:29 -0700
commitddbe71b44fc810cc39b576bf0047f89090cfabcb (patch)
tree789be307948594d0c784e34fb0a46ae7fb622192 /libavcodec/dct-test.c
parent53dfaedc014ba6bd073fece6582da1805b3c44c2 (diff)
downloadffmpeg-ddbe71b44fc810cc39b576bf0047f89090cfabcb.tar.gz
dct-test: allow to compile without HAVE_INLINE_ASM.
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 5046544500..9e19e0c6df 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -85,7 +85,7 @@ static const struct algo fdct_tab[] = {
{ "IJG-AAN-INT", ff_fdct_ifast, SCALE_PERM },
{ "IJG-LLM-INT", ff_jpeg_fdct_islow_8, NO_PERM },
-#if HAVE_MMX
+#if HAVE_MMX && HAVE_INLINE_ASM
{ "MMX", ff_fdct_mmx, NO_PERM, AV_CPU_FLAG_MMX },
{ "MMX2", ff_fdct_mmx2, NO_PERM, AV_CPU_FLAG_MMX2 },
{ "SSE2", ff_fdct_sse2, NO_PERM, AV_CPU_FLAG_SSE2 },