diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-03-22 12:00:26 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-03-22 13:00:50 +0100 |
commit | d98a5318fdbcd11f46162d82467e9441e9e4abe2 (patch) | |
tree | 6936f014c98a523ddc4576dd663ef2be2d9841f8 /libavcodec | |
parent | abbc34c372dbe8a486bfd5689b394b0af3835ef5 (diff) | |
download | ffmpeg-d98a5318fdbcd11f46162d82467e9441e9e4abe2.tar.gz |
Fix compilation with --disable-mmx.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/hpeldsp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c index 4b877b8e32..73b6bb1311 100644 --- a/libavcodec/x86/hpeldsp_init.c +++ b/libavcodec/x86/hpeldsp_init.c @@ -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) |