diff options
author | Andreas Rheinhardt <[email protected]> | 2024-02-29 22:12:48 +0100 |
---|---|---|
committer | Lynne <[email protected]> | 2024-04-23 08:31:28 +0200 |
commit | fc3c2ea8dce682eeaaa53b4fed02bebc7a684c46 (patch) | |
tree | b0a6dd166816f734b908b4ac19c13c65931ecedb /libavcodec/get_buffer.c | |
parent | 8b2261e573b9c5c06f8b3783b98bf18ac34527f4 (diff) |
avcodec/aacdec: PredictorState array out of SingleChannelElement
sizeof(PredictorState) is different for the floating-point and
the fixed-point AAC decoders; this is an obstacle for deduplicating
code between these decoders. So don't include this array in
SingleChannelElement, instead add a union of pointers to the
fixed-point PredictorState and the floating-point PredictorState.
The actual arrays are part of the extended ChannelElement
to be allocated by ff_aac_sbr_ctx_alloc_init(); it also
sets the pointers.
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/get_buffer.c')
0 files changed, 0 insertions, 0 deletions