aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/fdct_mmx.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-07-25 20:30:19 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-07-31 20:28:52 -0700
commit53dfaedc014ba6bd073fece6582da1805b3c44c2 (patch)
tree9ab99d4723e21d3719e64122274bc3b6666e253a /libavcodec/x86/fdct_mmx.c
parent9e4bca16f89bc12c58b58f4611d580a30d5f9638 (diff)
downloadffmpeg-53dfaedc014ba6bd073fece6582da1805b3c44c2.tar.gz
x86/dsputilenc: bury inline asm under HAVE_INLINE_ASM.
Diffstat (limited to 'libavcodec/x86/fdct_mmx.c')
-rw-r--r--libavcodec/x86/fdct_mmx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/fdct_mmx.c b/libavcodec/x86/fdct_mmx.c
index cc3036bc33..3614fd151a 100644
--- a/libavcodec/x86/fdct_mmx.c
+++ b/libavcodec/x86/fdct_mmx.c
@@ -34,6 +34,8 @@
#include "libavutil/x86_cpu.h"
#include "libavcodec/dsputil.h"
+#if HAVE_INLINE_ASM
+
//////////////////////////////////////////////////////////////////////
//
// constants for the forward DCT
@@ -579,3 +581,5 @@ void ff_fdct_sse2(int16_t *block)
fdct_col_sse2(block, block1, 0);
fdct_row_sse2(block1, block);
}
+
+#endif /* HAVE_INLINE_ASM */