aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rawutils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-29 23:03:17 +0100
committerLynne <dev@lynne.ee>2024-04-23 08:31:29 +0200
commit7117e0c7be6a1e2fb8775617384805f79740765c (patch)
tree274c594668f7c9776032b6549611efdebd8f91e4 /libavformat/rawutils.c
parentfc3c2ea8dce682eeaaa53b4fed02bebc7a684c46 (diff)
downloadffmpeg-7117e0c7be6a1e2fb8775617384805f79740765c.tar.gz
avcodec/aacdec: Use same AACDecContext for fixed and float
Up until now, there was one AACDecContext for the fixed and one for the floating point decoder. These differed mostly in certain arrays which were int for the fixed-point and float for the floating point decoder; there were also differences in corresponding function pointers. Yet in order to deduplicate the enormous amount of currently duplicated code between the float and the fixed-point decoder, one needs common contexts. Given that int and float have the same size on all common systems, this commit replaces these arrays by unions of int arrays and of float arrays. The names of these arrays have been chosen to be compatible with AAC_RENAME(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/rawutils.c')
0 files changed, 0 insertions, 0 deletions