diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-22 21:14:20 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-07-25 14:24:27 -0400 |
commit | 79195ce56500a137c7d3152d83dc27d848086405 (patch) | |
tree | 87cceda8786ebb9cb9dfc269067d84c20b2c2741 /libavcodec/dct-test.c | |
parent | 845e92fd6abf749a960354becdc5a9bc498f1f96 (diff) | |
download | ffmpeg-79195ce56500a137c7d3152d83dc27d848086405.tar.gz |
x86/dsputil: put inline asm under HAVE_INLINE_ASM.
This allows compiling with compilers that don't support gcc-style
inline assembly.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r-- | libavcodec/dct-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index ceff448ae7..5046544500 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -108,7 +108,7 @@ static const struct algo idct_tab[] = { { "INT", ff_j_rev_dct, MMX_PERM }, { "SIMPLE-C", ff_simple_idct_8, NO_PERM }, -#if HAVE_MMX +#if HAVE_MMX && HAVE_INLINE_ASM #if CONFIG_GPL { "LIBMPEG2-MMX", ff_mmx_idct, MMX_PERM, AV_CPU_FLAG_MMX, 1 }, { "LIBMPEG2-MMX2", ff_mmxext_idct, MMX_PERM, AV_CPU_FLAG_MMX2, 1 }, |