diff options
author | srujan vandrangi <srujan.vandrangi@ittiam.com> | 2023-09-25 20:33:02 +0530 |
---|---|---|
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2023-09-25 08:47:41 -0700 |
commit | f27694faed751f48be840969766577720dc2a084 (patch) | |
tree | 77de9a4f61e82909ba9f882f180ff6890ae3d5ff | |
parent | bbcac434f27e876e6f0f4aea3381d53ab065a3c0 (diff) | |
download | libavc-f27694faed751f48be840969766577720dc2a084.tar.gz |
decoder: join threads in flush mode
Test: avcdec
-rw-r--r-- | decoder/ih264d_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/ih264d_api.c b/decoder/ih264d_api.c index 315f701..16944f4 100644 --- a/decoder/ih264d_api.c +++ b/decoder/ih264d_api.c @@ -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 */ |