]> git.sesse.net Git - ffmpeg/commit
avcodec/h261dec: Make VLC smaller
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 29 Dec 2020 21:09:10 +0000 (22:09 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 27 Jan 2021 10:53:22 +0000 (11:53 +0100)
commit9f38fac053010205806ece11e6aea9b7d3bde041
tree7fe7818f7331aae5d8f423a2a4ec6af403765a17
parentba96f2254adb23802752ca41f2bd926ffbf15880
avcodec/h261dec: Make VLC smaller

The VLC for the macroblock address increment uses nine bits;
yet there is no code with this length: All codes are either shorter or
longer. So one can make the table smaller without changing the amount of
codes that need more than one round of parsing.

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