diff options
author | Tong Wu <tong1.wu-at-intel.com@ffmpeg.org> | 2023-12-28 11:10:38 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-01-05 11:06:57 +0800 |
commit | d18ed2ddb59b0fad4ab07431c2967db0f2d79b2d (patch) | |
tree | afa0e076a2844825a63a2e9547a92982f01888ec /libavutil/hash.c | |
parent | 8b76bae8961c3045fa73aa2da47345c70a93d599 (diff) | |
download | ffmpeg-d18ed2ddb59b0fad4ab07431c2967db0f2d79b2d.tar.gz |
avcodec/d3d12va_vp9: fix vp9 max_num_refs value
Previous max_num_refs was based on pp.frame_refs plus 1 and it could possibly
reaches the size limit. Actually it should be the size of pp.ref_frame_map
plus 1.
Signed-off-by: Tong Wu <tong1.wu@intel.com>
Diffstat (limited to 'libavutil/hash.c')
0 files changed, 0 insertions, 0 deletions