diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-17 15:53:43 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:47 +0100 |
commit | db234dbf73fe97611a75163bbb3b7c22ff953696 (patch) | |
tree | ed52f826e3ffb585b2c7378be8a99e1c7bc41eb5 /libavformat/rmsipr.c | |
parent | 12ace68ab0f07b8049dd9807dd9ea302187bd44b (diff) | |
download | ffmpeg-db234dbf73fe97611a75163bbb3b7c22ff953696.tar.gz |
avcodec/mpegaudiodec: Reduce the size of tables used to initialize VLCs
By switching from ff_init_vlc_sparse() to ff_init_vlc_from_lengths() one
can replace tables of codes of type uint16_t by tables of symbols of
type uint8_t; this saves about 1.3KB for both the fixed and floating
point decoders (if enabled).
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/rmsipr.c')
0 files changed, 0 insertions, 0 deletions