Call ih264d_deblock_display only for valid process calls am: 318368435f am: 2c71fb1941 am: d2977b77e3
am: d66e74cdbf
Change-Id: I962aae8ffd9d6acb93a92e12f1424bfe54f96d53
This commit is contained in:
commit
40ebdfd0fb
1 changed files with 2 additions and 1 deletions
|
|
@ -2285,7 +2285,8 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
|
||||||
/* if new frame in not found (if we are still getting slices from previous frame)
|
/* if new frame in not found (if we are still getting slices from previous frame)
|
||||||
* ih264d_deblock_display is not called. Such frames will not be added to reference /display
|
* ih264d_deblock_display is not called. Such frames will not be added to reference /display
|
||||||
*/
|
*/
|
||||||
if((ps_dec->ps_dec_err_status->u1_err_flag & REJECT_CUR_PIC) == 0)
|
if (((ps_dec->ps_dec_err_status->u1_err_flag & REJECT_CUR_PIC) == 0)
|
||||||
|
&& (ps_dec->u4_pic_buf_got == 1))
|
||||||
{
|
{
|
||||||
/* Calling Function to deblock Picture and Display */
|
/* Calling Function to deblock Picture and Display */
|
||||||
ret = ih264d_deblock_display(ps_dec);
|
ret = ih264d_deblock_display(ps_dec);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue