[FFmpeg-cvslog] x86/proresdsp-init: add forgotten HAVE_YASM

Elvis Presley git at videolan.org
Wed Oct 12 20:04:28 CEST 2011


ffmpeg | branch: master | Elvis Presley <elvis at e.p> | Wed Oct 12 18:07:20 2011 +0200| [ef47c608be2dbfa19f16073f205e5946cb3c8225] | committer: Michael Niedermayer

x86/proresdsp-init: add forgotten HAVE_YASM

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

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

 libavcodec/x86/proresdsp-init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/x86/proresdsp-init.c b/libavcodec/x86/proresdsp-init.c
index 9760105..ef5389c 100644
--- a/libavcodec/x86/proresdsp-init.c
+++ b/libavcodec/x86/proresdsp-init.c
@@ -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) {



More information about the ffmpeg-cvslog mailing list