aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-03-13 21:59:33 -0700
committerMichael Niedermayer <michaelni@gmx.at>2013-03-14 15:04:17 +0100
commitb76d853697a8b558e597ed4a6fc5a088b6c602c7 (patch)
tree8a95045a50b1554f23be8c27de6a8129aef88560 /configure
parent4a88d81c9e3758dfad6bf35681e27b9c10f0b346 (diff)
downloadffmpeg-b76d853697a8b558e597ed4a6fc5a088b6c602c7.tar.gz
lavc: make compilation of frame_thread_encoder.o optional.
Only compile if CONFIG_ENCODERS is enabled, i.e. if at least one encoder is to be compiled. This prevents it from being includes in a decoder-only build. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 4afe0dc0ee..8443db4370 100755
--- a/configure
+++ b/configure
@@ -1511,6 +1511,7 @@ CONFIG_EXTRA="
audio_frame_queue
dsputil
error_resilience
+ frame_thread_encoder
gcrypt
golomb
gplv3
@@ -1671,6 +1672,7 @@ log2_deps="!msvcrt"
# subsystems
dct_select="rdft"
error_resilience_select="dsputil"
+frame_thread_encoder_deps="encoders threads"
mdct_select="fft"
rdft_select="fft"
mpegaudio_select="mpegaudiodsp"
@@ -4239,6 +4241,7 @@ case $target_os in
esac
enabled_any $THREADS_LIST && enable threads
+enable frame_thread_encoder
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }