diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-22 12:02:11 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-26 07:16:10 +0100 |
commit | 3a836f38f609940d883b8d8ed5e8a526e803da3c (patch) | |
tree | f1bf8041f54afebb81b53d7df60e6124f3bb6d81 /libavfilter/ebur128.c | |
parent | f033e6d2e635820ec3deb9b936ed3f27ac7ad0a7 (diff) | |
download | ffmpeg-3a836f38f609940d883b8d8ed5e8a526e803da3c.tar.gz |
avcodec/rv34: Simplify getting right VLC
For both RealVideo 3.0 as well as RealVideo 4.0 the VLC table to use
depends upon the slice's quantization parameter; these are coded on five
bits in the bitstream and are therefore in the range of 0..31; yet the
last element here is not valid and therefore the quantizer is clipped to
the range 0..30 to get the index. But this is unnecessary: One can just
add one element more to the relevant array to avoid the clipping.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/ebur128.c')
0 files changed, 0 insertions, 0 deletions