diff options
author | Linjie Fu <linjie.fu@intel.com> | 2023-02-16 13:46:32 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2023-02-27 13:42:06 +0800 |
commit | fc3837ba85eafaeb5674c3d6b574a79da46d55b2 (patch) | |
tree | d2511c54047db2ce9e1b0816cd0613651174dc4b /libavcodec | |
parent | 513d188d9bfe882580cdb8f3e9a8ed0c290875ad (diff) | |
download | ffmpeg-fc3837ba85eafaeb5674c3d6b574a79da46d55b2.tar.gz |
lavc/hevcdec: Set max_num_merge_cand to uint8_t
uint8_t is big enough and keep consistent with the definition in
cbs_h265.h.
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/hevcdec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index a7fc669bcb..aab816791e 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -304,7 +304,7 @@ typedef struct SliceHeader { int beta_offset; ///< beta_offset_div2 * 2 int tc_offset; ///< tc_offset_div2 * 2 - unsigned int max_num_merge_cand; ///< 5 - 5_minus_max_num_merge_cand + uint8_t max_num_merge_cand; ///< 5 - 5_minus_max_num_merge_cand uint8_t use_integer_mv_flag; unsigned *entry_point_offset; |