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/simple_idct_mmx.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/simple_idct_mmx.c')
-rw-r--r-- | libavcodec/x86/simple_idct_mmx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/simple_idct_mmx.c b/libavcodec/x86/simple_idct_mmx.c index dc285cf728..f455eb8974 100644 --- a/libavcodec/x86/simple_idct_mmx.c +++ b/libavcodec/x86/simple_idct_mmx.c @@ -23,6 +23,8 @@ #include "libavcodec/simple_idct.h" #include "dsputil_mmx.h" +#if HAVE_INLINE_ASM + /* 23170.475006 22725.260826 @@ -1161,3 +1163,5 @@ void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, DCTELEM *block) idct(block); ff_add_pixels_clamped_mmx(block, dest, line_size); } + +#endif /* HAVE_INLINE_ASM */ |