Decoder: Initialize MB info buffer to zero.
Initialize the buffer used to store inter mb info
(reference index, weights etc) to zero.
Bug: 36035683
Change-Id: I23561a6a7fe852c0563a631d7ec6ab022cd78ccc
(cherry picked from commit 2575ae6c98)
This commit is contained in:
parent
7fe4422739
commit
9041bb17f7
1 changed files with 1 additions and 0 deletions
|
|
@ -1873,6 +1873,7 @@ WORD16 ih264d_allocate_dynamic_bufs(dec_struct_t * ps_dec)
|
|||
size = sizeof(parse_pmbarams_t) * (ps_dec->u1_recon_mb_grp);
|
||||
pv_buf = ps_dec->pf_aligned_alloc(pv_mem_ctxt, 128, size);
|
||||
RETURN_IF((NULL == pv_buf), IV_FAIL);
|
||||
memset(pv_buf, 0, size);
|
||||
ps_dec->ps_parse_mb_data = pv_buf;
|
||||
|
||||
size = sizeof(parse_part_params_t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue