diff --git a/mpp/hal/vpu/h264e/hal_h264e_vepu1.c b/mpp/hal/vpu/h264e/hal_h264e_vepu1.c index b58f5504..ab1d8545 100644 --- a/mpp/hal/vpu/h264e/hal_h264e_vepu1.c +++ b/mpp/hal/vpu/h264e/hal_h264e_vepu1.c @@ -758,6 +758,9 @@ MPP_RET hal_h264e_vepu1_control(void *hal, RK_S32 cmd_type, void *param) mpp_err("vepu1 do not support roi cfg\n"); ret = MPP_NOK; } break; + case MPP_ENC_PRE_ALLOC_BUFF: + // vepu do not support prealloc buff, ignore cmd + break; default : { mpp_err("unrecognizable cmd type %d", cmd_type); ret = MPP_NOK; diff --git a/mpp/hal/vpu/h264e/hal_h264e_vepu2.c b/mpp/hal/vpu/h264e/hal_h264e_vepu2.c index aac79332..4ac9ef6b 100644 --- a/mpp/hal/vpu/h264e/hal_h264e_vepu2.c +++ b/mpp/hal/vpu/h264e/hal_h264e_vepu2.c @@ -785,6 +785,9 @@ MPP_RET hal_h264e_vepu2_control(void *hal, RK_S32 cmd_type, void *param) mpp_err("vepu2 do not support roi cfg\n"); ret = MPP_NOK; } break; + case MPP_ENC_PRE_ALLOC_BUFF: + // vepu do not support prealloc buff, ignore cmd + break; default : { mpp_err("unrecognizable cmd type %x", cmd_type); ret = MPP_NOK;