diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-22 14:27:45 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:47 +0100 |
commit | cdea393093ebe10ac2222739d480aeb2f6a0bcc8 (patch) | |
tree | 521759a46519e4b447431ba214e0fe65757d93f4 /libavcodec/scpr.h | |
parent | 7688f94e90ee254382ee9c8cde81eed6408cf0f2 (diff) | |
download | ffmpeg-cdea393093ebe10ac2222739d480aeb2f6a0bcc8.tar.gz |
avcodec/aacdec, sinewin: Move 120 and 960 point sine tables to aacdec
The floating point AAC decoder is the only user of these tables, so it
makes sense to move them there. Furthermore, initializing the ordinary
power-of-two sinetables is currently not thread-safe and if the 120- and
960-point sinetables were not moved, one would have to choose whether
to guard initializing these two tables with their own AVOnces or not.
Doing so would add unnecessary AVOnces as the AAC decoder already guards
initializing its static data by an AVOnce; not doing so would be fragile
if a second user of these tables were to be added.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/scpr.h')
0 files changed, 0 insertions, 0 deletions