aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/indeo2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-17 15:53:43 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-08 17:51:47 +0100
commitdb234dbf73fe97611a75163bbb3b7c22ff953696 (patch)
treeed52f826e3ffb585b2c7378be8a99e1c7bc41eb5 /libavcodec/indeo2.c
parent12ace68ab0f07b8049dd9807dd9ea302187bd44b (diff)
downloadffmpeg-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 'libavcodec/indeo2.c')
0 files changed, 0 insertions, 0 deletions