Commit 3a22750e authored by François Cartegnie's avatar François Cartegnie 🤞

access: vdr: fix null dereference (cid #1346943)

parent 07c68185
......@@ -874,7 +874,7 @@ static void ImportMarks( access_t *p_access )
}
/* add a chapter at the beginning if missing */
if( p_marks->i_seekpoint > 0 && offsetv[0] > 0 )
if( p_marks->i_seekpoint > 0 && offsetv && offsetv[0] > 0 )
{
seekpoint_t *sp = vlc_seekpoint_New();
if( sp )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment