encoder: Update dimension check for semi-planar input am: afd2eeb402
Original change: 1782210
Change-Id: I1c1d60f5da17bcd4de359aadaa818878d6ce3c3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
3328845fa8
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ static IV_STATUS_T api_check_input_dimensions(codec_t *ps_codec,
|
|||
break;
|
||||
case IV_YUV_420SP_UV:
|
||||
case IV_YUV_420SP_VU:
|
||||
if ((ps_inp_buf->au4_wd[0] / 2) != ps_inp_buf->au4_wd[1])
|
||||
if (ps_inp_buf->au4_wd[0] != ps_inp_buf->au4_wd[1])
|
||||
{
|
||||
ps_op->s_ive_op.u4_error_code |= 1 << IVE_UNSUPPORTEDPARAM;
|
||||
ps_op->s_ive_op.u4_error_code |= IH264E_WIDTH_NOT_SUPPORTED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue