[enc_cfg]: Fix max_reenc_times size check error

Change-Id: Ieb19f47d57ea54d450cf904475732d46a5b52928
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2021-01-30 17:51:15 +08:00
parent 6aa528227f
commit 434f15ff26

View File

@@ -298,14 +298,14 @@ typedef struct MppEncRcCfg_t {
* skip_cnt - max continuous frame skip count * skip_cnt - max continuous frame skip count
* 0 - frame skip is not allow * 0 - frame skip is not allow
*/ */
RK_S16 skip_cnt; RK_S32 skip_cnt;
/* /*
* max_reenc_times - max reencode time for one frame * max_reenc_times - max reencode time for one frame
* 0 - reencode is not allowed * 0 - reencode is not allowed
* 1~3 max reencode time is limited to 3 * 1~3 max reencode time is limited to 3
*/ */
RK_U16 max_reenc_times; RK_U32 max_reenc_times;
/* /*
* stat_times - the time of bitrate statistics * stat_times - the time of bitrate statistics