Merge "Decoder: Initialize MB info buffer to zero." into mnc-dr-dev
am: a0ae601cb3
Change-Id: I1243fa37f2c0536c8bd05c5fe8e780c0dda0a2f1
This commit is contained in:
commit
2b9ed453ec
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);
|
size = sizeof(parse_pmbarams_t) * (ps_dec->u1_recon_mb_grp);
|
||||||
pv_buf = ps_dec->pf_aligned_alloc(pv_mem_ctxt, 128, size);
|
pv_buf = ps_dec->pf_aligned_alloc(pv_mem_ctxt, 128, size);
|
||||||
RETURN_IF((NULL == pv_buf), IV_FAIL);
|
RETURN_IF((NULL == pv_buf), IV_FAIL);
|
||||||
|
memset(pv_buf, 0, size);
|
||||||
ps_dec->ps_parse_mb_data = pv_buf;
|
ps_dec->ps_parse_mb_data = pv_buf;
|
||||||
|
|
||||||
size = sizeof(parse_part_params_t)
|
size = sizeof(parse_part_params_t)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue