Browse Source

dirac: ff_diracdsp_init_mmx() is only compiled when yasm is available

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 13 years ago
parent
commit
c0dbab964d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavcodec/diracdsp.c

+ 1 - 1
libavcodec/diracdsp.c

@@ -197,5 +197,5 @@ void ff_diracdsp_init(DiracDSPContext *c)
     PIXFUNC(avg, 16);
     PIXFUNC(avg, 32);
 
-    if (HAVE_MMX) ff_diracdsp_init_mmx(c);
+    if (HAVE_MMX && HAVE_YASM) ff_diracdsp_init_mmx(c);
 }