decoder: Allow stride to be smaller than decode width
When cropping is enabled, application can request a stride that is larger than display width but smaller than decode width. Bug: 160397536 Test: stagefright -sS <clip in bug> Change-Id: I453b2de0474f3ae4d021084729c33d52fc1090dc
This commit is contained in:
parent
5b879a3b70
commit
6c225fbf97
1 changed files with 1 additions and 1 deletions
|
|
@ -3253,7 +3253,7 @@ WORD32 ih264d_set_params(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
|
|||
ret = IV_FAIL;
|
||||
}
|
||||
|
||||
if(ps_ctl_ip->u4_disp_wd >= ps_dec->u2_pic_wd)
|
||||
if(ps_ctl_ip->u4_disp_wd >= ps_dec->u2_disp_width)
|
||||
{
|
||||
ps_dec->u4_app_disp_width = ps_ctl_ip->u4_disp_wd;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue