[FFmpeg-cvslog] r23839 - in trunk/libavcodec: h264pred.c vp8dsp.c

stefano subversion
Mon Jun 28 01:25:05 CEST 2010


Author: stefano
Date: Mon Jun 28 01:25:04 2010
New Revision: 23839

Log:
Fix linking if MMX is disabled.

Modified:
   trunk/libavcodec/h264pred.c
   trunk/libavcodec/vp8dsp.c

Modified: trunk/libavcodec/h264pred.c
==============================================================================
--- trunk/libavcodec/h264pred.c	Mon Jun 28 00:48:12 2010	(r23838)
+++ trunk/libavcodec/h264pred.c	Mon Jun 28 01:25:04 2010	(r23839)
@@ -1299,5 +1299,5 @@ void ff_h264_pred_init(H264PredContext *
     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);
 }

Modified: trunk/libavcodec/vp8dsp.c
==============================================================================
--- trunk/libavcodec/vp8dsp.c	Mon Jun 28 00:48:12 2010	(r23838)
+++ trunk/libavcodec/vp8dsp.c	Mon Jun 28 01:25:04 2010	(r23839)
@@ -452,6 +452,6 @@ av_cold void ff_vp8dsp_init(VP8DSPContex
     VP8_BILINEAR_MC_FUNC(1, 8);
     VP8_BILINEAR_MC_FUNC(2, 4);
 
-    if (ARCH_X86)
+    if (HAVE_MMX)
         ff_vp8dsp_init_x86(dsp);
 }



More information about the ffmpeg-cvslog mailing list