Merge "DO NOT MERGE Decoder: Modified setting of error code in set flush api." into mnc-dev
This commit is contained in:
commit
6a09a35355
1 changed files with 1 additions and 3 deletions
|
|
@ -3714,7 +3714,6 @@ WORD32 ih264d_set_flush_mode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op
|
|||
|
||||
dec_struct_t * ps_dec;
|
||||
ivd_ctl_flush_op_t *ps_ctl_op = (ivd_ctl_flush_op_t*)pv_api_op;
|
||||
ps_ctl_op->u4_error_code = 0;
|
||||
|
||||
ps_dec = (dec_struct_t *)(dec_hdl->pv_codec_handle);
|
||||
UNUSED(pv_api_ip);
|
||||
|
|
@ -3730,8 +3729,7 @@ WORD32 ih264d_set_flush_mode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op
|
|||
ih264d_release_display_bufs(ps_dec);
|
||||
}
|
||||
|
||||
ps_ctl_op->u4_error_code =
|
||||
((ivd_ctl_flush_op_t*)ps_dec->pv_dec_out)->u4_error_code; //verify the value
|
||||
ps_ctl_op->u4_error_code = 0;
|
||||
|
||||
return IV_SUCCESS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue