diff options
author | Andreas Rheinhardt <[email protected]> | 2025-04-18 19:29:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2025-04-25 23:01:37 +0200 |
commit | e0df21b8c379f3e3025df9510258f91b0d01d3d8 (patch) | |
tree | b9911703656dfaca06c406f39a241b3acf1d95ba /tests/api/api-band-test.c | |
parent | d60445258ce5d11eaccc285e5c7931ad26a96eb5 (diff) |
avcodec/webp: Switch to ff_vlc_init_from_lengths()
The earlier code would traverse over the code lengths
mutliple times (namely max_length + 1 times - once to get
the maximum length and once for each max_length to assign
codes) before calling ff_vlc_init_sparse() (which may traverse
them twice and sort them). The new code only traverses them once
(+ the one time in ff_vlc_init_from_lengths()).
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'tests/api/api-band-test.c')
0 files changed, 0 insertions, 0 deletions