[mpp_opt]: Modify the initialization number of opt

Change-Id: I3fef98f0feab2004b5c78dabcc4d792121bd7f1a
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
Hongjin Li
2022-04-15 10:45:47 +08:00
parent 4e236af2a3
commit 7bcf0d45dd

View File

@@ -672,7 +672,7 @@ RK_S32 mpi_dec_test_cmd_init(MpiDecTestCmd* cmd, int argc, char **argv)
mpp_opt_init(&opts); mpp_opt_init(&opts);
/* should change node count when option increases */ /* should change node count when option increases */
mpp_opt_setup(opts, cmd, 18, dec_opt_cnt); mpp_opt_setup(opts, cmd, 22, dec_opt_cnt);
for (i = 0; i < dec_opt_cnt; i++) for (i = 0; i < dec_opt_cnt; i++)
mpp_opt_add(opts, &dec_opts[i]); mpp_opt_add(opts, &dec_opts[i]);