From 2988a0c499ce1571163182e3bf72e20601e1c52f Mon Sep 17 00:00:00 2001 From: Tingjin Huang Date: Thu, 29 Aug 2024 11:14:50 +0800 Subject: [PATCH] fix[mpi_enc_test]: Remove redundant code about smart encoding Change-Id: I3a0876bd9476590b0e25d1c18f76a793fd4c86ab Signed-off-by: Tingjin Huang --- test/mpi_enc_test.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/test/mpi_enc_test.c b/test/mpi_enc_test.c index 2745e304..04dc5909 100644 --- a/test/mpi_enc_test.c +++ b/test/mpi_enc_test.c @@ -573,26 +573,6 @@ MPP_RET test_mpp_enc_cfg_setup(MpiEncMultiCtxInfo *info) if (ref) mpp_enc_ref_cfg_deinit(&ref); - { - RcApiBrief rcApiBrief; - ret = mpi->control(ctx, MPP_ENC_GET_RC_API_CURRENT, &rcApiBrief); - if (ret) { - mpp_err("mpi control enc get rc api failed ret %d\n", ret); - goto RET; - } - - if (MPP_ENC_RC_MODE_SMTRC == info->cmd->rc_mode) - rcApiBrief.name = "smart"; - else - rcApiBrief.name = "default"; - - ret = mpi->control(ctx, MPP_ENC_SET_RC_API_CURRENT, &rcApiBrief); - if (ret) { - mpp_err("mpi control enc set rc api failed ret %d\n", ret); - goto RET; - } - } - /* optional */ { RK_U32 sei_mode;