Merge "Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row" into mnc-dr-dev

This commit is contained in:
Ray Essick 2017-01-06 17:50:41 +00:00 committed by Android (Google) Code Review
commit 5e6147a424

View file

@ -1940,8 +1940,9 @@ WORD16 ih264d_allocate_dynamic_bufs(dec_struct_t * ps_dec)
if(ps_dec->u1_separate_parse)
{
/* Needs one extra row of info, to hold top row data */
size = sizeof(mb_neigbour_params_t)
* 2 * ((u4_wd_mbs + 2) * u4_ht_mbs);
* 2 * ((u4_wd_mbs + 2) * (u4_ht_mbs + 1));
}
else
{