]> git.sesse.net Git - ffmpeg/commit
avcodec/mpc7: Reduce size of tables used to initialize VLCs
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 29 Oct 2020 19:13:56 +0000 (20:13 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 8 Dec 2020 16:51:45 +0000 (17:51 +0100)
commit354ba64f40d3d6a185765a22497eefe71aeaba99
tree4afdd7f390a63c09d74e19b7f2ac739003692f42
parent949367b0ec660d2496a62f7acc359bac651bdc02
avcodec/mpc7: Reduce size of tables used to initialize VLCs

By switching to ff_init_vlc_from_lengths() one can replace tables of
codes of type uint16_t with tables of symbols of type uint8_t, saving
space.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/mpc7.c
libavcodec/mpc7data.h