Fix compilation with --disable-mmx.

This commit is contained in:
Carl Eugen Hoyos 2013-03-22 12:00:26 +01:00
parent abbc34c372
commit d98a5318fd
1 changed files with 1 additions and 1 deletions

View File

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