mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 17:46:50 +08:00
[mpp_enc_ref]: Fix typos
The check on short-term config should use short-term config count rather than long-term config count. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I0006fe9a30035f636411702290cd9dff4032296d
This commit is contained in:
@@ -270,7 +270,7 @@ MPP_RET mpp_enc_ref_cfg_check(MppEncRefCfg ref)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* constrain on head and tail frame */
|
/* constrain on head and tail frame */
|
||||||
if (pos == 0 || (pos == lt_cfg_cnt - 1)) {
|
if (pos == 0 || (pos == st_cfg_cnt - 1)) {
|
||||||
if (cfg->is_non_ref) {
|
if (cfg->is_non_ref) {
|
||||||
mpp_err_f("ref cfg %p st cfg %d with invalid non-ref frame on head/tail frame\n",
|
mpp_err_f("ref cfg %p st cfg %d with invalid non-ref frame on head/tail frame\n",
|
||||||
ref, pos);
|
ref, pos);
|
||||||
|
Reference in New Issue
Block a user