# HG changeset patch # User stefano # Date 1277681104 0 # Node ID 1cffcc7b1470c09f3198f81e12e75845e12ecc98 # Parent 7589f76ce761cea5a1d7cfdd60918021eb03b4a1 Fix linking if MMX is disabled. diff -r 7589f76ce761 -r 1cffcc7b1470 h264pred.c --- a/h264pred.c Sun Jun 27 20:18:28 2010 +0000 +++ b/h264pred.c Sun Jun 27 23:25:04 2010 +0000 @@ -1299,5 +1299,5 @@ h->pred16x16_add[ HOR_PRED8x8]= pred16x16_horizontal_add_c; if (ARCH_ARM) ff_h264_pred_init_arm(h, codec_id); - if (ARCH_X86) ff_h264_pred_init_x86(h, codec_id); + if (HAVE_MMX) ff_h264_pred_init_x86(h, codec_id); } diff -r 7589f76ce761 -r 1cffcc7b1470 vp8dsp.c --- a/vp8dsp.c Sun Jun 27 20:18:28 2010 +0000 +++ b/vp8dsp.c Sun Jun 27 23:25:04 2010 +0000 @@ -452,6 +452,6 @@ VP8_BILINEAR_MC_FUNC(1, 8); VP8_BILINEAR_MC_FUNC(2, 4); - if (ARCH_X86) + if (HAVE_MMX) ff_vp8dsp_init_x86(dsp); }