summaryrefslogtreecommitdiff
path: root/libavcodec/x86/dsputilenc_mmx.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-10-18 19:51:18 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-10-18 19:51:18 +0000
commitf4d608e344f2868ce50a386015f41d2bb21fb14d (patch)
tree3196262e62edfe106f87b34176f94c0f9de076ec /libavcodec/x86/dsputilenc_mmx.c
parent4df254f1f19d05a8172845f49930e8fbf9ef56be (diff)
add CONFIG_LPC to the build system for lpc dsputil functions. fixes build
problems when lpc.c is not compiled. Originally committed as revision 20285 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/dsputilenc_mmx.c')
-rw-r--r--libavcodec/x86/dsputilenc_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c
index 2bf0fe1328..a7fafe0605 100644
--- a/libavcodec/x86/dsputilenc_mmx.c
+++ b/libavcodec/x86/dsputilenc_mmx.c
@@ -1413,7 +1413,9 @@ void dsputilenc_init_mmx(DSPContext* c, AVCodecContext *avctx)
c->sum_abs_dctelem= sum_abs_dctelem_sse2;
c->hadamard8_diff[0]= hadamard8_diff16_sse2;
c->hadamard8_diff[1]= hadamard8_diff_sse2;
+#if CONFIG_LPC
c->lpc_compute_autocorr = ff_lpc_compute_autocorr_sse2;
+#endif
}
#if HAVE_SSSE3