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/x86/idct_mmx_xvid.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/x86/idct_mmx_xvid.c')
-rw-r--r-- | libavcodec/x86/idct_mmx_xvid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/idct_mmx_xvid.c b/libavcodec/x86/idct_mmx_xvid.c index 139798e44b..e4c778c398 100644 --- a/libavcodec/x86/idct_mmx_xvid.c +++ b/libavcodec/x86/idct_mmx_xvid.c @@ -43,6 +43,8 @@ #include "libavcodec/avcodec.h" #include "idct_xvid.h" +#if HAVE_INLINE_ASM + //============================================================================= // Macros and other preprocessor constants //============================================================================= @@ -523,3 +525,5 @@ __asm__ volatile( DCT_8_INV_COL(8(%0), 8(%0)) :: "r"(block), "r"(rounder_0), "r"(tab_i_04_xmm), "r"(tg_1_16)); } + +#endif /* HAVE_INLINE_ASM */ |