summaryrefslogtreecommitdiff
path: root/libavcodec/h264pred.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-27 23:25:04 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-27 23:25:04 +0000
commita64fadf62b19551e73e8d049bf4bbeca35a04553 (patch)
treed7cdb2f351163ceb88fc6083543182ab9d985093 /libavcodec/h264pred.c
parent6951515cbff15cde4e116370f1e10bcc49134f01 (diff)
downloadffmpeg-a64fadf62b19551e73e8d049bf4bbeca35a04553.tar.gz
Fix linking if MMX is disabled.
Originally committed as revision 23839 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264pred.c')
-rw-r--r--libavcodec/h264pred.c2
1 files changed, 1 insertions, 1 deletions
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);
}