mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-14 23:02:35 +07:00
[automerger] Fix output buffer size check am: ce8a8db32e am: 38414e7695 am: 2ab44f7b06 am: 067b752888 am: 3ed61deace am: 324d31ea53 am: 11b4c7987a am: dc6a93286c am: b2fa33dac7
Change-Id: I85337397019b8af2fd43d6596c8efdac3805b758
This commit is contained in:
commit
b545fd3eec
1 changed files with 3 additions and 0 deletions
|
|
@ -695,6 +695,9 @@ IHEVCD_ERROR_T ihevcd_check_out_buf_size(codec_t *ps_codec)
|
|||
return (IHEVCD_ERROR_T)IHEVCD_SUCCESS;
|
||||
}
|
||||
|
||||
if(ps_codec->i4_disp_strd > (WORD32)wd)
|
||||
wd = ps_codec->i4_disp_strd;
|
||||
|
||||
if(ps_codec->e_chroma_fmt == IV_YUV_420P)
|
||||
u4_min_num_out_bufs = MIN_OUT_BUFS_420;
|
||||
else if(ps_codec->e_chroma_fmt == IV_YUV_422ILE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue