Merge "Decoder: Initialize MB info buffer to zero." into mnc-dr-dev

am: a0ae601cb3

Change-Id: I1243fa37f2c0536c8bd05c5fe8e780c0dda0a2f1
This commit is contained in:
Marco Nelissen 2017-05-17 17:22:45 +00:00 committed by android-build-merger
commit 2b9ed453ec

View file

@ -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)