]> git.sesse.net Git - ffmpeg/commit
avcodec/h261dec: Don't initialize unused VLCs
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 8 Dec 2020 21:51:25 +0000 (22:51 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 25 Jan 2021 13:51:53 +0000 (14:51 +0100)
commitb9071a70fc27ec3f774a0e3babf0534c50369e14
tree388ab26c43893730c55cc80a392966fbd7e4d83b
parent8f04988e463f17d58ba5a52f09cf49231037bb6c
avcodec/h261dec: Don't initialize unused VLCs

The H.261 decoder uses only the very first VLC of ff_h261_rl_tcoeff,
so only initialize this one. Saves 68448B from the .bss segment; in case
the decoder is actually used, this amount of memory is saved.

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