Commit fb4e983e authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Martin Storsjö

x86: mlpdsp: mlp_filter_channel_x86 requires inline asm

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 7b699d81
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "libavcodec/dsputil.h" #include "libavcodec/dsputil.h"
#include "libavcodec/mlp.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_8;
extern char ff_mlp_firorder_7; extern char ff_mlp_firorder_7;
...@@ -172,11 +172,11 @@ static void mlp_filter_channel_x86(int32_t *state, const int32_t *coeff, ...@@ -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) 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; c->mlp_filter_channel = mlp_filter_channel_x86;
#endif #endif
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment