From a64fadf62b19551e73e8d049bf4bbeca35a04553 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 27 Jun 2010 23:25:04 +0000 Subject: Fix linking if MMX is disabled. Originally committed as revision 23839 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264pred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264pred.c') diff --git a/libavcodec/h264pred.c b/libavcodec/h264pred.c index 3353a9a2c0..eff7d89055 100644 --- a/libavcodec/h264pred.c +++ b/libavcodec/h264pred.c @@ -1299,5 +1299,5 @@ void ff_h264_pred_init(H264PredContext *h, int codec_id){ 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); } -- cgit v1.2.3