Commit 1575796c authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf
Browse files

input: fix a crash when loading an invalid mrl

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 307831c3
......@@ -3115,6 +3115,9 @@ static void MRLSections( const char *p,
int title_start, chapter_start, title_end, chapter_end;
if( !p )
if( *p != '-' )
p = MRLSeekPoint( p, &title_start, &chapter_start );
Supports Markdown
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