Commit d98a5318 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix compilation with --disable-mmx.

parent abbc34c3
......@@ -401,7 +401,7 @@ void ff_hpeldsp_init_x86(HpelDSPContext *c, int flags)
{
int mm_flags = av_get_cpu_flags();
if (mm_flags & AV_CPU_FLAG_MMX)
if (HAVE_MMX && mm_flags & AV_CPU_FLAG_MMX)
hpeldsp_init_mmx(c, flags, mm_flags);
if (mm_flags & AV_CPU_FLAG_MMXEXT)
......
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