mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
media: fix crash 264 decoder crash issue
PD# 153479 vdec tee swithing caused tee chaos without vdec stop Change-Id: Ie720ea14975a5b3cb019050485651ad266750037 Signed-off-by: Yvonne Chen <yvonne.chen@amlogic.com>
This commit is contained in:
@@ -3489,6 +3489,7 @@ static irqreturn_t vh264_isr_thread_fn(struct vdec_s *vdec)
|
||||
is_i_slice = is_idr;
|
||||
if (!is_i_slice) {
|
||||
if (hw->has_i_frame == 0) {
|
||||
amvdec_stop();
|
||||
hw->dec_result = DEC_RESULT_DONE;
|
||||
vdec_schedule_work(&hw->work);
|
||||
dpb_print(DECODE_ID(hw),
|
||||
|
||||
Reference in New Issue
Block a user