Commit 5c9cae74 authored by Michael Niedermayer's avatar Michael Niedermayer

dirac: Only use MMX if MMX is available.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8c4aebb5
......@@ -60,6 +60,9 @@ void ff_diracdsp_init_mmx(DiracDSPContext* c)
{
int mm_flags = av_get_cpu_flags();
if (!(mm_flags & AV_CPU_FLAG_MMX))
return;
#if HAVE_YASM
c->add_dirac_obmc[0] = ff_add_dirac_obmc8_mmx;
#if !ARCH_X86_64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment