[FFmpeg-devel] [PATCH v3] avcodec/aac/aacdec: Fix linking errors with only one decoder enabled

Lynne dev at lynne.ee
Tue May 7 01:47:49 EEST 2024


May 7, 2024, 00:38 by andreas.rheinhardt at outlook.com:

> This is achieved by using function pointers for AAC SBR functions.
> This unfortunately necessitated to use void* in
> ff_aac_sbr_apply(_fixed).
> Fixes ticket #10999.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/aac/aacdec.c               | 35 ++++++---------------------
> libavcodec/aac/aacdec.h               |  7 ++++++
> libavcodec/aac/aacdec_proc_template.c |  6 +++++
> libavcodec/aacsbr.h                   |  4 +--
> libavcodec/aacsbr_template.c          |  3 ++-
> 5 files changed, 25 insertions(+), 30 deletions(-)
>

Very nice, thanks
This sets us up to detemplate SBR too in the future.
LGTM


More information about the ffmpeg-devel mailing list