From 58f7aad05125058407a3e15ad0125ec3e6d48ffa Mon Sep 17 00:00:00 2001 From: Daniel Kang Date: Sun, 3 Jul 2011 22:28:47 -0400 Subject: [PATCH] Fix build with --disable-yasm. Signed-off-by: Ronald S. Bultje --- libavcodec/x86/dsputil_mmx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index d6eed82dd8..cfec97c8af 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -2835,11 +2835,13 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) H264_QPEL_FUNCS(3, 2, ssse3); H264_QPEL_FUNCS(3, 3, ssse3); } +#if HAVE_YASM else if (bit_depth == 10) { H264_QPEL_FUNCS_10(1, 0, ssse3_cache64) H264_QPEL_FUNCS_10(2, 0, ssse3_cache64) H264_QPEL_FUNCS_10(3, 0, ssse3_cache64) } +#endif c->add_png_paeth_prediction= add_png_paeth_prediction_ssse3; #if HAVE_YASM if (!high_bit_depth) { -- GitLab