Decoder: Do not conceal slices with invalid SPS/PPS am: 3a419eac8d
am: 48b182db5d
Change-Id: Idae71f69d2e97ed7ff4d767e0028ec19d105ad3d
This commit is contained in:
commit
ea40cf81eb
1 changed files with 5 additions and 2 deletions
|
|
@ -2066,8 +2066,10 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
|
||||||
if((ret == IVD_RES_CHANGED)
|
if((ret == IVD_RES_CHANGED)
|
||||||
|| (ret == IVD_MEM_ALLOC_FAILED)
|
|| (ret == IVD_MEM_ALLOC_FAILED)
|
||||||
|| (ret == ERROR_UNAVAIL_PICBUF_T)
|
|| (ret == ERROR_UNAVAIL_PICBUF_T)
|
||||||
|| (ret == ERROR_UNAVAIL_MVBUF_T))
|
|| (ret == ERROR_UNAVAIL_MVBUF_T)
|
||||||
|
|| (ret == ERROR_INV_SPS_PPS_T))
|
||||||
{
|
{
|
||||||
|
ps_dec->u4_slice_start_code_found = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2149,7 +2151,8 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
|
||||||
if((ret == IVD_RES_CHANGED)
|
if((ret == IVD_RES_CHANGED)
|
||||||
|| (ret == IVD_MEM_ALLOC_FAILED)
|
|| (ret == IVD_MEM_ALLOC_FAILED)
|
||||||
|| (ret == ERROR_UNAVAIL_PICBUF_T)
|
|| (ret == ERROR_UNAVAIL_PICBUF_T)
|
||||||
|| (ret == ERROR_UNAVAIL_MVBUF_T))
|
|| (ret == ERROR_UNAVAIL_MVBUF_T)
|
||||||
|
|| (ret == ERROR_INV_SPS_PPS_T))
|
||||||
{
|
{
|
||||||
|
|
||||||
/* signal the decode thread */
|
/* signal the decode thread */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue