diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-24 23:58:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-10-31 21:44:48 +0100 |
commit | 22d60524d8dd1ba2468260cfd0c0ee2a15b9c34d (patch) | |
tree | 1a7b09a7859dfb6f44e8141b760a657841d2ed1b /libavcodec/aacdectab.h | |
parent | 4d6042e9d7f89c94c434b082685d93e3f96e00ed (diff) | |
download | ffmpeg-22d60524d8dd1ba2468260cfd0c0ee2a15b9c34d.tar.gz |
avcodec/aacsbr_template: Deduplicate VLCs
The VLCs, their init code and the tables used for initialization
are currently duplicated for the floating- and fixed-point decoders.
This commit stops doing so and moves this stuff to aacdec_common.c.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/aacdectab.h')
-rw-r--r-- | libavcodec/aacdectab.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aacdectab.h b/libavcodec/aacdectab.h index d62f170136..02e0d8a48e 100644 --- a/libavcodec/aacdectab.h +++ b/libavcodec/aacdectab.h @@ -38,6 +38,8 @@ FF_VISIBILITY_PUSH_HIDDEN void ff_aacdec_common_init_once(void); +extern VLC ff_aac_sbr_vlc[10]; + extern VLCElem ff_vlc_scalefactors[]; extern const VLCElem *ff_vlc_spectral[11]; |