PD#SWPL-35442
Problem:
play special stream,switch channel,DUT reboot
Solution:
add variable judgment
Verify:
S905X4
Change-Id: Ib45d82429a6ef526e26fd227f4624a6968db3955
Signed-off-by: haobin.zhu <haobin.zhu@amlogic.com>
vf->pts, vf->pts_us64,
vf->duration);
#ifdef AUX_DATA_CRC
- decoder_do_aux_data_check(vdec, hevc->m_PIC[vf->index & 0xff]->aux_data_buf,
- hevc->m_PIC[vf->index & 0xff]->aux_data_size);
+ if ((vf->index & 0xff) <= MAX_REF_PIC_NUM)
+ decoder_do_aux_data_check(vdec, hevc->m_PIC[vf->index & 0xff]->aux_data_buf,
+ hevc->m_PIC[vf->index & 0xff]->aux_data_size);
#endif
if (hevc->is_used_v4l)
update_vframe_src_fmt(vf,