diff options
author | Fei Wang <fei.w.wang@intel.com> | 2021-10-12 16:23:56 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-10-16 19:00:43 -0300 |
commit | e7ff5722b1abae4284e79da707e71ff82b409699 (patch) | |
tree | 91ec8eb42e5d4494bb4ae9c23d37b109384876a8 /libavcodec/libkvazaar.c | |
parent | 9b445663a544b777f1470692a9fa64f2d481efa4 (diff) | |
download | ffmpeg-e7ff5722b1abae4284e79da707e71ff82b409699.tar.gz |
cbs_av1: fix incorrect data type
Since order_hint_bits_minus_1 range is 0~7, cur_frame_hint can be
most 128. And similar return value for cbs_av1_get_relative_dist.
So if plus them and use int8_t for the result may lose its precision.
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Diffstat (limited to 'libavcodec/libkvazaar.c')
0 files changed, 0 insertions, 0 deletions