mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 02:50:06 +08:00
[hal_h264e]: Fix amend buf_size set to zero issue
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Id8e4d28d2b6967a26d693bd41e4ba3491c5fff38
This commit is contained in:
@@ -108,7 +108,7 @@ MPP_RET h264e_vepu_stream_amend_config(HalH264eVepuStreamAmend *ctx,
|
|||||||
} else {
|
} else {
|
||||||
MPP_FREE(ctx->dst_buf);
|
MPP_FREE(ctx->dst_buf);
|
||||||
MPP_FREE(ctx->src_buf);
|
MPP_FREE(ctx->src_buf);
|
||||||
memset(ctx, 0, sizeof(*ctx));
|
h264e_vepu_stream_amend_init(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
slice->pic_order_cnt_type = cfg->codec.h264.poc_type;
|
slice->pic_order_cnt_type = cfg->codec.h264.poc_type;
|
||||||
|
Reference in New Issue
Block a user