aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-08-30 15:21:15 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-08-30 15:21:15 +0200
commit8fe1fb41ac285a7867fa07c3b9cfe646737a9595 (patch)
treeae650cbcba77bddb3954089ad976dd03ca8238f8 /libavcodec
parent48cd1037f661f8fc566c5aae1ea174b77b031704 (diff)
downloadffmpeg-8fe1fb41ac285a7867fa07c3b9cfe646737a9595.tar.gz
Fix compilation with --disable-mmx.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/dsputil_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputil_init.c b/libavcodec/x86/dsputil_init.c
index 1baeeeec0f..df7918a237 100644
--- a/libavcodec/x86/dsputil_init.c
+++ b/libavcodec/x86/dsputil_init.c
@@ -678,7 +678,7 @@ av_cold void ff_dsputil_init_x86(DSPContext *c, AVCodecContext *avctx)
int cpu_flags = av_get_cpu_flags();
#if HAVE_7REGS && HAVE_INLINE_ASM
- if (cpu_flags & AV_CPU_FLAG_CMOV)
+ if (HAVE_MMX && cpu_flags & AV_CPU_FLAG_CMOV)
c->add_hfyu_median_prediction = ff_add_hfyu_median_prediction_cmov;
#endif