changeset 11985:1cffcc7b1470 libavcodec

Fix linking if MMX is disabled.
author stefano
date Sun, 27 Jun 2010 23:25:04 +0000
parents 7589f76ce761
children 11a8d4c1ee81
files h264pred.c vp8dsp.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }
--- 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);
 }