summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinjie Fu <linjie.fu@intel.com>2023-02-16 13:46:32 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2023-02-27 13:42:06 +0800
commitfc3837ba85eafaeb5674c3d6b574a79da46d55b2 (patch)
treed2511c54047db2ce9e1b0816cd0613651174dc4b
parent513d188d9bfe882580cdb8f3e9a8ed0c290875ad (diff)
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>
-rw-r--r--libavcodec/hevcdec.h2
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;