PR #25621 opened by Vanilagy
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25621
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25621.patch
Since b5bfb7716c ("avcodec/ac3enc: drain the buffered samples at the
end of encoding"), ac3enc.c uses ff_af_queue_*, but the AC-3 encoders
never selected audio_frame_queue. Builds that enable only these
encoders (e.g. --disable-everything --enable-encoder=ac3) fail to link.
Signed-off-by: Vanilagy <[email protected]
# Summary of changes
I hit this when updating/rebuilding `@mediabunny/ac3` with the latest FFmpeg
master. My configure command disables everything and then enables just the
AC-3/E-AC-3 encoder/decoder, and that failed to link when I compiled my WASM
bridge with Emscripten.
>From 43f9bc6e53880bf73b2433197587e0c6cca35b75 Mon Sep 17 00:00:00 2001
From: Vanilagy <[email protected]>
Date: Fri, 30 Oct 2026 16:24:13 +0100
Subject: [PATCH] configure: select audio_frame_queue for the AC-3 encoders
Since b5bfb7716c ("avcodec/ac3enc: drain the buffered samples at the
end of encoding"), ac3enc.c uses ff_af_queue_*, but the AC-3 encoders
never selected audio_frame_queue. Builds that enable only these
encoders (e.g. --disable-everything --enable-encoder=ac3) fail to link.
Signed-off-by: Vanilagy <[email protected]>
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index c84c4b07929..fcecbf3b937 100755
--- a/configure
+++ b/configure
@@ -3070,8 +3070,8 @@ aac_encoder_select="audio_frame_queue lpc sinewin"
aac_latm_decoder_select="aac_decoder aac_latm_parser"
ac3_decoder_select="ac3_parser ac3dsp bswapdsp"
ac3_fixed_decoder_select="ac3_parser ac3dsp bswapdsp"
-ac3_encoder_select="ac3dsp audiodsp me_cmp"
-ac3_fixed_encoder_select="ac3dsp audiodsp me_cmp"
+ac3_encoder_select="ac3dsp audio_frame_queue audiodsp me_cmp"
+ac3_fixed_encoder_select="ac3dsp audio_frame_queue audiodsp me_cmp"
acelp_kelvin_decoder_select="audiodsp celp_math"
adpcm_circus_decoder_deps="lgpl_gpl"
adpcm_g722_decoder_select="g722dsp"
--
2.54.0
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]