aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aac/aacdec_fixed.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-06 13:59:08 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-07 00:02:57 +0200
commitf5d2dc7b4bd2430c7a3d977b22bd20ef3508505c (patch)
treedc9987cf0e2adce0ea7cd0422a7e0de74f99a2d6 /libavcodec/aac/aacdec_fixed.c
parent8762aa4d62522f993a6f4b03902feb3e6a875b32 (diff)
downloadffmpeg-f5d2dc7b4bd2430c7a3d977b22bd20ef3508505c.tar.gz
avcodec/aac/aacdec_(fixed|float): Set AACDecDSP, AACDecProc directly
This is more in line with how we initialize DSP functions and avoids tables of function pointers as well as relocations for these. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/aac/aacdec_fixed.c')
-rw-r--r--libavcodec/aac/aacdec_fixed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aac/aacdec_fixed.c b/libavcodec/aac/aacdec_fixed.c
index 79d35e05fb..de90880884 100644
--- a/libavcodec/aac/aacdec_fixed.c
+++ b/libavcodec/aac/aacdec_fixed.c
@@ -90,8 +90,8 @@ av_cold int ff_aac_decode_init_fixed(AVCodecContext *avctx)
ac->is_fixed = 1;
avctx->sample_fmt = AV_SAMPLE_FMT_S32P;
- ac->dsp = aac_dsp_fixed;
- ac->proc = aac_proc_fixed;
+ aac_dsp_init_fixed(&ac->dsp);
+ aac_proc_init_fixed(&ac->proc);
ac->fdsp = avpriv_alloc_fixed_dsp(avctx->flags & AV_CODEC_FLAG_BITEXACT);
if (!ac->fdsp)