From 889639969bf8106c05e2958370dbe290ef283c42 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 4 Jul 2011 02:02:24 +0200 Subject: [PATCH] dsputil_mmx: try to fix compilation without yasm. Signed-off-by: Michael Niedermayer --- libavcodec/x86/dsputil_mmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index 13530418ff..1fcce36f08 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -2737,12 +2737,12 @@ 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) } -#if HAVE_YASM if (!high_bit_depth) { c->put_h264_chroma_pixels_tab[0]= ff_put_h264_chroma_mc8_ssse3_rnd; c->avg_h264_chroma_pixels_tab[0]= ff_avg_h264_chroma_mc8_ssse3_rnd;