From 6add8eb2ce165ea943ddeee611fd3f68b85012e0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 9 Sep 2012 17:21:02 +0200 Subject: [PATCH] x86/h264dsp_init: put a HAVE_YASM back Should fix compilation on open solaris Signed-off-by: Michael Niedermayer --- libavcodec/x86/h264dsp_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/h264dsp_init.c b/libavcodec/x86/h264dsp_init.c index 7ada4950cc..bb48867f19 100644 --- a/libavcodec/x86/h264dsp_init.c +++ b/libavcodec/x86/h264dsp_init.c @@ -210,6 +210,7 @@ H264_BIWEIGHT_10_SSE(4, 10) void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth, const int chroma_format_idc) { +#if HAVE_YASM int mm_flags = av_get_cpu_flags(); if (chroma_format_idc == 1 && EXTERNAL_MMXEXT(mm_flags)) @@ -371,4 +372,5 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth, } } } +#endif }