aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-03-12 07:28:11 -0700
committerMichael Niedermayer <michaelni@gmx.at>2013-03-12 19:56:58 +0100
commit6a701306db167a70b29a9a5aed3aaf7d8c369716 (patch)
tree5f3b8703eb13bb676d51ec7c2edcb846af590b91 /libavcodec/utils.c
parentb1a9a2c4ffb87004ef5947d64bbfb34544793278 (diff)
downloadffmpeg-6a701306db167a70b29a9a5aed3aaf7d8c369716.tar.gz
dsputil: make selectable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 59839b9540..069761fa5e 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -140,7 +140,8 @@ static void avcodec_init(void)
return;
initialized = 1;
- ff_dsputil_static_init();
+ if (CONFIG_DSPUTIL)
+ ff_dsputil_static_init();
}
int av_codec_is_encoder(const AVCodec *codec)