Merge "Handle error return from ref list in slice hdr parsing" into lmp-dev

This commit is contained in:
Marco Nelissen 2017-03-13 23:53:33 +00:00 • committed by Android (Google) Code Review
commit fd5656fe76

View file

@ -907,11 +907,11 @@ IHEVCD_ERROR_T ihevcd_parse_slice_header(codec_t *ps_codec,
}
else
{
WORD32 ret;
ret = ihevcd_ref_list(ps_codec, ps_pps, ps_sps, ps_slice_hdr);
if(IHEVCD_REF_PIC_NOT_FOUND == ret)
return IHEVCD_IGNORE_SLICE;
if ((WORD32)IHEVCD_SUCCESS != ret)
{
return ret;
}
}
}