mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 01:10:39 +01:00
fix[h265e]: Remove unused buffer
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: Ief949dd9a1f00252e0268007f9dac1449578d997
This commit is contained in:
parent
fb23f69ca7
commit
fdba12d3fa
2 changed files with 0 additions and 8 deletions
|
|
@ -61,9 +61,6 @@ static MPP_RET h265e_init(void *ctx, EncImplCfg *ctrlCfg)
|
|||
|
||||
p->extra_info = mpp_calloc(H265eExtraInfo, 1);
|
||||
|
||||
p->param_buf = mpp_calloc_size(void, H265E_EXTRA_INFO_BUF_SIZE);
|
||||
mpp_packet_init(&p->packeted_param, p->param_buf, H265E_EXTRA_INFO_BUF_SIZE);
|
||||
|
||||
h265e_init_extra_info(p->extra_info);
|
||||
/* set defualt value of codec */
|
||||
codec = &p->cfg->codec;
|
||||
|
|
@ -218,9 +215,6 @@ static MPP_RET h265e_deinit(void *ctx)
|
|||
h265e_deinit_extra_info(p->extra_info);
|
||||
|
||||
MPP_FREE(p->extra_info);
|
||||
MPP_FREE(p->param_buf);
|
||||
if (p->packeted_param)
|
||||
mpp_packet_deinit(&p->packeted_param);
|
||||
|
||||
h265e_dpb_deinit(p->dpb);
|
||||
|
||||
|
|
|
|||
|
|
@ -73,8 +73,6 @@ typedef struct H265eCtx_t {
|
|||
RK_U32 plt_flag;
|
||||
|
||||
void *extra_info;
|
||||
void *param_buf;
|
||||
MppPacket packeted_param;
|
||||
H265eSyntax_new syntax;
|
||||
H265eFeedback feedback;
|
||||
struct list_head rc_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue