summaryrefslogtreecommitdiff
path: root/libavcodec/x86/idct_mmx_xvid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/x86/idct_mmx_xvid.c')
-rw-r--r--libavcodec/x86/idct_mmx_xvid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/idct_mmx_xvid.c b/libavcodec/x86/idct_mmx_xvid.c
index 1b48ab52bb..5d8027fb27 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 */