]> git.sesse.net Git - ffmpeg/commit
avcodec/ituh263dec: Don't initialize unused RL VLCs
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 9 Dec 2020 00:11:40 +0000 (01:11 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 25 Jan 2021 13:51:53 +0000 (14:51 +0100)
commita3831e81ff368f6c8f098b5c3dad80cae91bacae
treed622201fb0d740a14e40ab2cef5bd56cb85160f7
parent3e0bd5064d4e2f87a69c6028eb739db5a45d3cb9
avcodec/ituh263dec: Don't initialize unused RL VLCs

The ff_rl_intra_aic RLTable is only used by ituh263dec and ituh263enc;
the former is the only user of its RL VLC tables. It uses only the very
first one of these VLC tables, but up until now all 32 are initialized,
wasting 68696B from the .bss segment (or that amount of memory if this
decoder has actually been used). This commit changes this.

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