diff dsputil.c @ 10429:289dd8daf4ee libavcodec

add CONFIG_LPC to the build system for lpc dsputil functions. fixes build problems when lpc.c is not compiled.
author jbr
date Sun, 18 Oct 2009 19:51:18 +0000
parents 94595d0e617c
children 546b7ebeaf07
line wrap: on
line diff
--- a/dsputil.c	Sun Oct 18 18:51:54 2009 +0000
+++ b/dsputil.c	Sun Oct 18 19:51:18 2009 +0000
@@ -4837,7 +4837,9 @@
 #if CONFIG_AC3_DECODER
     c->ac3_downmix = ff_ac3_downmix_c;
 #endif
+#if CONFIG_LPC
     c->lpc_compute_autocorr = ff_lpc_compute_autocorr;
+#endif
     c->vector_fmul = vector_fmul_c;
     c->vector_fmul_reverse = vector_fmul_reverse_c;
     c->vector_fmul_add = vector_fmul_add_c;