[hal_h264d_vdpu34x]: Disable buffer log on deinit

Change-Id: I475846b51d986f3c60b61375615e0e3c7701d51b
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2021-12-01 11:30:09 +08:00
parent 26a2b1a6ba
commit ee7bae024d

View File

@@ -736,8 +736,12 @@ MPP_RET vdpu34x_h264d_deinit(void *hal)
MPP_FREE(reg_ctx->reg_buf[i].regs);
loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1;
for (i = 0; i < loop; i++)
mpp_buffer_put(reg_ctx->rcb_buf[i]);
for (i = 0; i < loop; i++) {
if (reg_ctx->rcb_buf[i]) {
mpp_buffer_put(reg_ctx->rcb_buf[i]);
reg_ctx->rcb_buf[i] = NULL;
}
}
if (p_hal->cmv_bufs) {
hal_bufs_deinit(p_hal->cmv_bufs);