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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-31 02:47:23 +01:00
parent 0489af478e
commit c0dbab964d

View File

@ -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);
}