diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-04 07:39:03 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-04 07:39:03 +0400 |
commit | d5c9d055ea3d9b40e736257fd7b58125ada8cba8 (patch) | |
tree | 9a7e1d540646a6da1ed5183f4bbc970ade90f44b | |
parent | 571ab8344a9a2864d22d01af41283cee9328b927 (diff) |
avcodec/x86/dsputilenc_mmx: fix build without yasm
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/dsputilenc_mmx.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)) { |