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

input: fix a crash when loading an invalid mrl

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