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:
parent
637cb7f434
commit
9b095de571
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue