summaryrefslogtreecommitdiff
path: root/libavcodec/atrac3.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-06 13:50:56 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-08 17:51:47 +0100
commitabf1a4f05cc8c051c51bc8bd8e3bb059075a0bf6 (patch)
treed60ebcacaf5a5f948bc0cfadcc95ab99c54d9fb8 /libavcodec/atrac3.c
parentd1a1f1171217d1461a0a158f2bdee8a1d8d541a4 (diff)
avcodec/intrax8: 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 an array of codes of type uint16_t with an array of symbols of type uint8_t, saving space. Also remove some more code duplication while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/atrac3.c')
0 files changed, 0 insertions, 0 deletions