diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-04-17 19:48:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-04-25 23:01:37 +0200 |
commit | e946ba64bf716c0f36909459516e7972d2fd600a (patch) | |
tree | 7a3a14c6bbbb7fda390020b5d6e007959a331365 /tests/api/api-dump-stream-meta-test.c | |
parent | 57b7783c22ce33387e312a9a1038708e39c857f9 (diff) | |
download | ffmpeg-e946ba64bf716c0f36909459516e7972d2fd600a.tar.gz |
avcodec/vp6: Don't reload unnecessarily often in get_vlc2()
The VLC trees used here have very few different codes
and are therefore guaranteed to not be very deep: The AC/DC
VLCs have 12 elements and therefore a depth <= 11 whereas
the run VLCs have only nine elements and therefore a depth <= 8.
This allows to reduce the worst-case number of reloads for
reading a VLC code.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/api/api-dump-stream-meta-test.c')
0 files changed, 0 insertions, 0 deletions