Skip to content

Commit

Permalink
decoder: join threads in flush mode
Browse files Browse the repository at this point in the history
Test: avcdec
  • Loading branch information
srujan874 authored and harishdm committed Sep 25, 2023
1 parent bbcac43 commit f27694f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decoder/ih264d_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -3165,6 +3165,7 @@ WORD32 ih264d_set_flush_mode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op
ps_ctl_op->u4_error_code = 0;

ps_dec = (dec_struct_t *)(dec_hdl->pv_codec_handle);
ih264d_join_threads(ps_dec);
UNUSED(pv_api_ip);
/* ! */
/* Signal flush frame control call */
Expand Down

0 comments on commit f27694f

Please sign in to comment.