Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row

This needs an additional row of data to hold top row
Issue is seen only for MBAff error cases which start with a field
at lower resolutions

Bug: 33139050
This commit is contained in:
Harish Mahendrakar 2016-12-15 18:04:53 +05:30 committed by Ray Essick
parent 637cb7f434
commit 9b095de571

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
{