From f27694faed751f48be840969766577720dc2a084 Mon Sep 17 00:00:00 2001 From: srujan vandrangi Date: Mon, 25 Sep 2023 20:33:02 +0530 Subject: [PATCH] decoder: join threads in flush mode Test: avcdec --- decoder/ih264d_api.c | 1 + 1 file changed, 1 insertion(+) 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 */