mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-09 21:32:41 +00:00
Fix compilation with --disable-mmx.
This commit is contained in:
parent
abbc34c372
commit
d98a5318fd
@ -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…
Reference in New Issue
Block a user