• Andreas Rheinhardt's avatar
    avcodec/msmpeg4dec: Reuse identical RL VLCs · d90d0a71
    Andreas Rheinhardt authored
    Some of the RLTables used by msmpeg4dec actually coincide with other
    RLTables: ff_rl_table[5] coincides with ff_h263_rl_inter (and
    ff_rl_table[2] with ff_mpeg4_rl_intra). Given that ff_h263_rl_inter is
    always initialized before msmpeg4dec's RLTables are initialized, one can
    just reuse the VLC tables by copying the pointers; after all, there are
    no ownership issues for static data. This saves 70912B from the .bss
    segment, translating into actual memory savings when this decoder is
    actually used.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    d90d0a71
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...