[dec_no_thread] Fix invail mpp_pkt_in after reset

Signed-off-by: Rimon Xu <rimon.xu@rock-chips.com>
Change-Id: I3cf3e8e5342a5bd88c8b079d5ee7ca43ab0cdf25
This commit is contained in:
Rimon Xu
2023-06-30 16:30:50 +08:00
parent ae444a6cb5
commit 53846ffaa4

View File

@@ -368,6 +368,9 @@ MPP_RET mpp_dec_reset_no_thread(MppDecImpl *dec)
task_dec->input = -1;
}
// external packet release by user
dec->mpp_pkt_in = NULL;
task->status.task_parsed_rdy = 0;
dec_task_init(task);