[FFmpeg-cvslog] x86: dsputil: Only compile motion_est code when encoders are enabled

Diego Biurrun git at videolan.org
Mon Sep 10 14:21:07 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Sep  9 21:19:50 2012 +0200| [a84edbacaf5adbe6e3672851aa8b3034b95787e2] | committer: Diego Biurrun

x86: dsputil: Only compile motion_est code when encoders are enabled

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a84edbacaf5adbe6e3672851aa8b3034b95787e2
---

 libavcodec/x86/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile
index ffa5ad9..be4fd54 100644
--- a/libavcodec/x86/Makefile
+++ b/libavcodec/x86/Makefile
@@ -11,14 +11,14 @@ MMX-OBJS                               += x86/dsputil_mmx.o             \
                                           x86/fmtconvert_init.o         \
                                           x86/idct_mmx_xvid.o           \
                                           x86/idct_sse2_xvid.o          \
-                                          x86/motion_est.o              \
                                           x86/simple_idct.o             \
 
 MMX-OBJS-$(CONFIG_AAC_DECODER)         += x86/sbrdsp_init.o
 MMX-OBJS-$(CONFIG_AC3DSP)              += x86/ac3dsp_init.o
 MMX-OBJS-$(CONFIG_CAVS_DECODER)        += x86/cavsdsp.o
 MMX-OBJS-$(CONFIG_DWT)                 += x86/snowdsp.o
-MMX-OBJS-$(CONFIG_ENCODERS)            += x86/dsputilenc_mmx.o
+MMX-OBJS-$(CONFIG_ENCODERS)            += x86/dsputilenc_mmx.o          \
+                                          x86/motion_est.o
 MMX-OBJS-$(CONFIG_FFT)                 += x86/fft_init.o
 MMX-OBJS-$(CONFIG_H264DSP)             += x86/h264dsp_init.o
 MMX-OBJS-$(CONFIG_H264PRED)            += x86/h264_intrapred_init.o



More information about the ffmpeg-cvslog mailing list