mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
fix[h264e_dpb]: fix walk_len when refs_dryrun
Platform:All Spec:encoder Error case: h264e_dpb: find_cpb_frame can not find match frm 0. Solution: Since info->st_gop = st_cfg_cnt - 1 cannot accurately represent the number of st_cfg, st_cfg_cnt is used to replace info->st_gop. Change-Id: I3a2f494de5dcec0182d0431fb2c1b653cbe3bf84 Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
parent
81c4696937
commit
54d72a64c5
1 changed files with 1 additions and 1 deletions
|
|
@ -594,7 +594,7 @@ MPP_RET mpp_enc_refs_dryrun(MppEncRefs refs)
|
|||
RK_S32 cpb_st_used_size = 0;
|
||||
RK_S32 seq_idx = 0;
|
||||
RK_S32 st_idx;
|
||||
RK_S32 walk_len = MPP_MAX(info->lt_gop, info->st_gop);
|
||||
RK_S32 walk_len = MPP_MAX(lt_cfg_cnt, st_cfg_cnt);
|
||||
|
||||
if (cfg->ready)
|
||||
goto DONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue