mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/356/head
parent
f033e6d2e6
commit
3a836f38f6
2 changed files with 8 additions and 6 deletions
Loading…
Reference in new issue