diff options
author | Lynne <dev@lynne.ee> | 2024-03-22 07:13:08 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-04-23 08:31:41 +0200 |
commit | e3650886c7e1df3301ec2011a02147c3e32e33ad (patch) | |
tree | 912e19312696fe0166ec24cfd9b7ac8eace2934a /libavcodec/aac/aacdec_fixed.c | |
parent | 176c922e4edac82df2c8ea508f81d2aba29c6468 (diff) | |
download | ffmpeg-e3650886c7e1df3301ec2011a02147c3e32e33ad.tar.gz |
aacdec: initialize float/fixed SBR tables only when either is needed
Diffstat (limited to 'libavcodec/aac/aacdec_fixed.c')
-rw-r--r-- | libavcodec/aac/aacdec_fixed.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/aac/aacdec_fixed.c b/libavcodec/aac/aacdec_fixed.c index a65ba19137..92204180a1 100644 --- a/libavcodec/aac/aacdec_fixed.c +++ b/libavcodec/aac/aacdec_fixed.c @@ -41,6 +41,7 @@ #include "libavcodec/sinewin_fixed_tablegen.h" #include "libavcodec/kbdwin.h" #include "libavcodec/cbrt_data.h" +#include "libavcodec/aacsbr.h" DECLARE_ALIGNED(32, static INTFLOAT, AAC_RENAME2(aac_kbd_long_1024))[1024]; DECLARE_ALIGNED(32, static INTFLOAT, AAC_RENAME2(aac_kbd_short_128))[128]; @@ -57,6 +58,8 @@ static void init_tables_fixed_fn(void) AAC_RENAME(ff_kbd_window_init)(AAC_RENAME(aac_kbd_long_960), 4.0, 960); AAC_RENAME(ff_kbd_window_init)(AAC_RENAME(aac_kbd_short_120), 6.0, 120); + AAC_RENAME(ff_aac_sbr_init)(); + init_sine_windows_fixed(); } |