[FFmpeg-cvslog] avcodec/x86/dsputilenc_mmx: fix build without yasm

Michael Niedermayer git at videolan.org
Wed Jun 4 05:51:51 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun  4 05:39:03 2014 +0200| [d5c9d055ea3d9b40e736257fd7b58125ada8cba8] | committer: Michael Niedermayer

avcodec/x86/dsputilenc_mmx: fix build without yasm

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5c9d055ea3d9b40e736257fd7b58125ada8cba8
---

 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 e180486..01dec6e 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)) {



More information about the ffmpeg-cvslog mailing list