[FFmpeg-devel] [PATCH 1/4] configure: select mdct for dca encoder

Lou Logan lou at lrcd.com
Tue Nov 5 21:35:45 EET 2019


Signed-off-by: Lou Logan <lou at lrcd.com>

---

Fixes:
--disable-everything --enable-encoder=dca
/usr/bin/ld: libavcodec/libavcodec.a(dcaenc.o): in function `encode_init':
dcaenc.c:(.text+0xeb9): undefined reference to `ff_mdct_init_fixed_32'
/usr/bin/ld: libavcodec/libavcodec.a(dcaenc.o): in function `encode_close':
dcaenc.c:(.text+0x159c): undefined reference to `ff_mdct_end_fixed_32'

---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index bec47d4ffe..f0be66ec8e 100755
--- a/configure
+++ b/configure
@@ -2675,6 +2675,7 @@ cook_decoder_select="audiodsp mdct sinewin"
 cscd_decoder_select="lzo"
 cscd_decoder_suggest="zlib"
 dca_decoder_select="mdct"
+dca_encoder_select="mdct"
 dds_decoder_select="texturedsp"
 dirac_decoder_select="dirac_parse dwt golomb videodsp mpegvideoenc"
 dnxhd_decoder_select="blockdsp idctdsp"
-- 
2.23.0



More information about the ffmpeg-devel mailing list