]> git.sesse.net Git - ffmpeg/commit
avcodec/sheervideo: Simplify creating VLC table
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 1 Nov 2020 00:21:06 +0000 (01:21 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 8 Dec 2020 16:51:46 +0000 (17:51 +0100)
commitd4a4a6747d53a5707f1a13861dc2cc4e7e19e332
tree8bc0c68c348262991d6e776aedcab58791d913b2
parentf31bf4a1f93920fe67447a11632817efa978d92d
avcodec/sheervideo: Simplify creating VLC table

ff_init_vlc_from_lengths() can be used to offload the computation
of the codes; it also needn't check whether the codes are already
properly ordered (they are).

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