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_sse2_xvid.c | |
parent | 845e92fd6abf749a960354becdc5a9bc498f1f96 (diff) |
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_sse2_xvid.c')
-rw-r--r-- | libavcodec/x86/idct_sse2_xvid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/idct_sse2_xvid.c b/libavcodec/x86/idct_sse2_xvid.c index 968b400c6d..8249e97ccf 100644 --- a/libavcodec/x86/idct_sse2_xvid.c +++ b/libavcodec/x86/idct_sse2_xvid.c @@ -43,6 +43,8 @@ #include "idct_xvid.h" #include "dsputil_mmx.h" +#if HAVE_INLINE_ASM + /** * @file * @brief SSE2 idct compatible with xvidmmx @@ -401,3 +403,5 @@ void ff_idct_xvid_sse2_add(uint8_t *dest, int line_size, short *block) ff_idct_xvid_sse2(block); ff_add_pixels_clamped_mmx(block, dest, line_size); } + +#endif /* HAVE_INLINE_ASM */ |