diff mbox series

[FFmpeg-devel] configure: fix linker error due to missing dependency

Message ID 0cc384ee-a8f0-4cd6-a378-cdb75fa2339e@nativewaves.com
State New
Headers show
Series [FFmpeg-devel] configure: fix linker error due to missing dependency | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Michael Riedl Nov. 15, 2023, 12:40 p.m. UTC
Add av1_parser to av1_decoder to fix undefined reference to 'ff_av1_framerate'.

To reproduce: ./configure --disable-everything --disable-autodetect --enable-encoder=av1

Signed-off-by: Michael Riedl <michael.riedl@nativewaves.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Khirnov Nov. 30, 2023, 11:48 a.m. UTC | #1
Quoting Michael Riedl (2023-11-15 13:40:45)
> Add av1_parser to av1_decoder to fix undefined reference to 'ff_av1_framerate'.

This is wrong, rather you should add av1_parse.o to
OBJS-$(CONFIG_AV1_DECODER) in libavcodec/Makefile
diff mbox series

Patch

diff --git a/configure b/configure
index 055d558c5a8..a2d19dbd578 100755
--- a/configure
+++ b/configure
@@ -2816,7 +2816,7 @@  asv1_encoder_select="aandcttables bswapdsp fdctdsp pixblockdsp"
 asv2_decoder_select="blockdsp bswapdsp idctdsp"
 asv2_encoder_select="aandcttables bswapdsp fdctdsp pixblockdsp"
 atrac1_decoder_select="sinewin"
-av1_decoder_select="cbs_av1 atsc_a53"
+av1_decoder_select="cbs_av1 atsc_a53 av1_parser"
 bink_decoder_select="blockdsp hpeldsp"
 binkaudio_dct_decoder_select="wma_freqs"
 binkaudio_rdft_decoder_select="wma_freqs"