mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 18:40:03 +08:00
[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:
@@ -736,8 +736,12 @@ MPP_RET vdpu34x_h264d_deinit(void *hal)
|
|||||||
MPP_FREE(reg_ctx->reg_buf[i].regs);
|
MPP_FREE(reg_ctx->reg_buf[i].regs);
|
||||||
|
|
||||||
loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1;
|
loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->rcb_buf) : 1;
|
||||||
for (i = 0; i < loop; i++)
|
for (i = 0; i < loop; i++) {
|
||||||
mpp_buffer_put(reg_ctx->rcb_buf[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) {
|
if (p_hal->cmv_bufs) {
|
||||||
hal_bufs_deinit(p_hal->cmv_bufs);
|
hal_bufs_deinit(p_hal->cmv_bufs);
|
||||||
|
Reference in New Issue
Block a user