aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/checkasm.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-18 19:29:41 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-25 23:01:37 +0200
commite0df21b8c379f3e3025df9510258f91b0d01d3d8 (patch)
treeb9911703656dfaca06c406f39a241b3acf1d95ba /tests/checkasm/checkasm.c
parentd60445258ce5d11eaccc285e5c7931ad26a96eb5 (diff)
downloadffmpeg-e0df21b8c379f3e3025df9510258f91b0d01d3d8.tar.gz
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 <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/checkasm/checkasm.c')
0 files changed, 0 insertions, 0 deletions