Skip to content
Snippets Groups Projects
Commit 1c3fc96a authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

osd: epg: fix null deref on missing next event

refs #26905
parent 941479da
No related branches found
No related tags found
Loading
Pipeline #224132 passed with stage
in 16 minutes and 57 seconds
......@@ -374,7 +374,7 @@ static void vout_FillRightPanel(epg_spu_updater_sys_t *p_sys,
last_ptr = &(*last_ptr)->p_next;
}
if(p_sys->time)
if(p_sys->time && p_sys->epg->p_current)
{
f_progress = (p_sys->time - p_sys->epg->p_current->i_start) /
(float)p_sys->epg->p_current->i_duration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment