aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun2012-09-09 21:19:50 +0200
committerDiego Biurrun2012-09-10 08:31:47 +0200
commita84edbacaf5adbe6e3672851aa8b3034b95787e2 (patch)
tree8cf34f2d359ef96a1fcfb8763f41aa27af5a3ae1
parent8c5ed7a66a59a2eac4b776a44f8ea841b8e12418 (diff)
x86: dsputil: Only compile motion_est code when encoders are enabled
-rw-r--r--libavcodec/x86/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile
index ffa5ad94c1..be4fd5406d 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