OSDN Git Service

x86/proresdsp-init: add forgotten HAVE_YASM
authorElvis Presley <elvis@e.p>
Wed, 12 Oct 2011 16:07:20 +0000 (18:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Oct 2011 17:42:53 +0000 (19:42 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/proresdsp-init.c

index 9760105..ef5389c 100644 (file)
@@ -31,7 +31,7 @@ void ff_prores_idct_put_10_avx (uint16_t *dst, int linesize,
 
 void ff_proresdsp_x86_init(ProresDSPContext *dsp)
 {
-#if ARCH_X86_64
+#if ARCH_X86_64 && HAVE_YASM
     int flags = av_get_cpu_flags();
 
     if (flags & AV_CPU_FLAG_SSE2) {