Browse Source

Fix compilation with --disable-mmx.

tags/n2.0
Carl Eugen Hoyos 12 years ago
parent
commit
d98a5318fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/x86/hpeldsp_init.c

+ 1
- 1
libavcodec/x86/hpeldsp_init.c 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)


Loading…
Cancel
Save