From d5c9d055ea3d9b40e736257fd7b58125ada8cba8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 4 Jun 2014 05:39:03 +0200 Subject: [PATCH] avcodec/x86/dsputilenc_mmx: fix build without yasm Signed-off-by: Michael Niedermayer --- libavcodec/x86/dsputilenc_mmx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c index e18048681f..01dec6ec47 100644 --- a/libavcodec/x86/dsputilenc_mmx.c +++ b/libavcodec/x86/dsputilenc_mmx.c @@ -494,8 +494,10 @@ av_cold void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx, c->sum_abs_dctelem = ff_sum_abs_dctelem_mmx; c->sse[0] = ff_sse16_mmx; c->sse[1] = ff_sse8_mmx; +#if HAVE_YASM c->nsse[0] = nsse16_mmx; c->nsse[1] = nsse8_mmx; +#endif } if (EXTERNAL_MMXEXT(cpu_flags)) {