diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-26 18:16:21 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-31 21:46:01 +0100 |
commit | 15072d275313e78cd101633ac79b797cae2694b2 (patch) | |
tree | 87730e8239523c49bc725f2e37abc77fbe8b3f55 /LICENSE.md | |
parent | 2825ed4e26f7683f0cf6baed0bbc62b095652ff9 (diff) | |
download | ffmpeg-15072d275313e78cd101633ac79b797cae2694b2.tar.gz |
avcodec/mlpenc: Simplify finding best codebook
Finding the best codebook involves comparing different paths, where each
path is a sequence of several decisions (namely which codebook to use).
Up until now, these sequence was encoded in a NUL-terminated string and
the actual decisions were encoded as ’\0'..'\3' (which encoded 0..3).
This commit modifies this to actually encode it via 0..3 by switching
away from a C-string to a simple array with an explicit length field.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions