diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-22 20:09:02 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:48 +0100 |
commit | fc5d22abe40e0ab5b603b69752288565c92de670 (patch) | |
tree | 90a5aea0789ca5532b4bcb2528f5f7840052b032 /libavcodec/aactab.c | |
parent | 8c9404b8d27b8f2c187709d5c4fa51e75c918a0b (diff) | |
download | ffmpeg-fc5d22abe40e0ab5b603b69752288565c92de670.tar.gz |
avcodec/aacdec, aactab: Move kbd tables to their only user
The floating point kbd tables for 120 and 960 samples are only used by
the floating point decoder whereas the fixed point kbd tables for 128
and 1024 samples are only used by the fixed point AAC decoder. So move
these tables to their only users. This ensures that they are not
accidentally used somewhere else without ensuring that initializing
these tables stays thread-safe (as it is now because the only place from
where they are initialized is guarded by an AVOnce).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/aactab.c')
-rw-r--r-- | libavcodec/aactab.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c index 79dd13d9cb..e886642e66 100644 --- a/libavcodec/aactab.c +++ b/libavcodec/aactab.c @@ -39,10 +39,6 @@ float ff_aac_pow34sf_tab[428]; DECLARE_ALIGNED(32, float, ff_aac_kbd_long_1024)[1024]; DECLARE_ALIGNED(32, float, ff_aac_kbd_short_128)[128]; -DECLARE_ALIGNED(32, float, ff_aac_kbd_long_960)[960]; -DECLARE_ALIGNED(32, float, ff_aac_kbd_short_120)[120]; -DECLARE_ALIGNED(32, int, ff_aac_kbd_long_1024_fixed)[1024]; -DECLARE_ALIGNED(32, int, ff_aac_kbd_short_128_fixed)[128]; const uint8_t ff_aac_num_swb_1024[] = { 41, 41, 47, 49, 49, 51, 47, 47, 43, 43, 43, 40, 40 |