mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 01:52:46 +08:00
[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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user