]> git.sesse.net Git - ffmpeg/commit
avcodec/mv30: Reduce the size of tables used to initialize VLCs
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 16 Nov 2020 13:56:13 +0000 (14:56 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 8 Dec 2020 16:51:47 +0000 (17:51 +0100)
commit90c4958640cb0a4eb495a16e01926d379c1ceaed
tree3d87bb98daa9ee59e2e237e2d5fbef69d9201a1b
parent0ecd6879b33d6af11c28ff2387c43d2e151e8831
avcodec/mv30: Reduce the size of tables used to initialize VLCs

By switching from ff_init_vlc_sparse() to ff_init_vlc_from_lengths() one
can remove the array of codes of type uint16_t here; given that the
symbols are the default ones (0,1,2,...), no explicit symbols table
needs to be added.

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