[FFmpeg-devel] [PATCH] avcodec/ac3dec: fix build when eac3 decoder is disabled

Nicolas Gaullier nicolas.gaullier at cji.paris
Mon Nov 4 19:59:32 EET 2024


>Envoyé : dimanche 27 octobre 2024 01:01
>Objet : [PATCH] avcodec/ac3dec: fix build when eac3 decoder is disabled
>
> libavcodec/ac3dec_fixed.c | 3 +++
> libavcodec/ac3dec_float.c | 2 ++
> 2 files changed, 5 insertions(+)

Ping ?

Maybe I should detail a little bit more about the "actual" issue in the commit msg?
The ac3dec build dependency is against the eac3 decoder or the eac3 encoder (but it does
not sound great to make ac3dec depends on eac3 enc in my opinion).
With an optimized build, the issue "evaporates" since there it is no "real" dependency.
To reproduce:
./configure --disable-optimizations --disable-decoders --disable-encoders --enable-decoder=ac3

Note: the following configs have NO issue:
./configure                                           --disable-decoders --disable-encoders --enable-decoder=ac3
./configure --disable-optimizations --disable-decoders --disable-encoders --enable-decoder=ac3 --enable-encoder=eac3

Nicolas


More information about the ffmpeg-devel mailing list