Commit 8fe1fb41 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix compilation with --disable-mmx.

parent 48cd1037
...@@ -678,7 +678,7 @@ av_cold void ff_dsputil_init_x86(DSPContext *c, AVCodecContext *avctx) ...@@ -678,7 +678,7 @@ av_cold void ff_dsputil_init_x86(DSPContext *c, AVCodecContext *avctx)
int cpu_flags = av_get_cpu_flags(); int cpu_flags = av_get_cpu_flags();
#if HAVE_7REGS && HAVE_INLINE_ASM #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; c->add_hfyu_median_prediction = ff_add_hfyu_median_prediction_cmov;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment