Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-10-18 23:51:18 +0400
committerJustin Ruggles <justin.ruggles@gmail.com>2009-10-18 23:51:18 +0400
commitf4d608e344f2868ce50a386015f41d2bb21fb14d (patch)
tree3196262e62edfe106f87b34176f94c0f9de076ec /libavcodec/dsputil.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/dsputil.c')
-rw-r--r--libavcodec/dsputil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index aae86bcb21..0500872036 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -4837,7 +4837,9 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx)
#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;