]> git.sesse.net Git - ffmpeg/commit
avcodec/msmpeg4dec: Don't initialize unused RL VLCs
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 8 Dec 2020 22:08:56 +0000 (23:08 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 25 Jan 2021 13:51:53 +0000 (14:51 +0100)
commitb0c47487701d135c9ed1423fa367643cf03c8670
treec8ea670877d91cbf6090dcec29001b7b800d5869
parentb9071a70fc27ec3f774a0e3babf0534c50369e14
avcodec/msmpeg4dec: Don't initialize unused RL VLCs

For the RLTables ff_rl_table[0..2] only the very first VLC is only ever
used, so it makes no sense to create 32 of them. This saves 285200B from
the .bss segment; this amount of memory is actually saved when this
decoder is used.

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