Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row am: 9b095de571 am: ccd57d9029 am: 4ec0548b97 am: 6e50592ca9 am: c54813cf06 am: 22261bd5c3

am: 000ca8c68c

Change-Id: I978c2ff4af86543226f8ef4e899b51dffa59de31
This commit is contained in:
Harish Mahendrakar 2017-01-06 18:19:01 +00:00 committed by android-build-merger
commit ef0f9380bd

View file

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