summaryrefslogtreecommitdiff
path: root/libavcodec/x86/mlpdsp.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-09-08 08:40:19 +0200
committerMartin Storsjö <martin@martin.st>2012-09-08 15:41:44 +0300
commitfb4e983e0ce1f00c57f987d878ce10c43a62b763 (patch)
tree603ebd0f634b18214b528c70bf2e33948c642e73 /libavcodec/x86/mlpdsp.c
parent7b699d813681e4fad419ec63c96d595e98b2dbfa (diff)
x86: mlpdsp: mlp_filter_channel_x86 requires inline asm
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/x86/mlpdsp.c')
-rw-r--r--libavcodec/x86/mlpdsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/mlpdsp.c b/libavcodec/x86/mlpdsp.c
index f81c329a38..8f886aacbf 100644
--- a/libavcodec/x86/mlpdsp.c
+++ b/libavcodec/x86/mlpdsp.c
@@ -24,7 +24,7 @@
#include "libavcodec/dsputil.h"
#include "libavcodec/mlp.h"
-#if HAVE_7REGS
+#if HAVE_7REGS && HAVE_INLINE_ASM
extern char ff_mlp_firorder_8;
extern char ff_mlp_firorder_7;
@@ -172,11 +172,11 @@ static void mlp_filter_channel_x86(int32_t *state, const int32_t *coeff,
);
}
-#endif /* HAVE_7REGS */
+#endif /* HAVE_7REGS && HAVE_INLINE_ASM */
void ff_mlp_init_x86(DSPContext* c, AVCodecContext *avctx)
{
-#if HAVE_7REGS
+#if HAVE_7REGS && HAVE_INLINE_ASM
c->mlp_filter_channel = mlp_filter_channel_x86;
#endif
}