Commit 5a127f08 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix my previous commit

(cherry picked from commit 80c48542)
parent f2edd8c2
...@@ -2020,8 +2020,10 @@ static int ParseSubViewer1( demux_t *p_demux, subtitle_t *p_subtitle, int i_idx ...@@ -2020,8 +2020,10 @@ static int ParseSubViewer1( demux_t *p_demux, subtitle_t *p_subtitle, int i_idx
s = TextGetLine( txt ); s = TextGetLine( txt );
if( !s ) if( !s )
{
free( psz_text ); free( psz_text );
return VLC_EGENERIC; return VLC_EGENERIC;
}
if( sscanf( s, "[%d:%d:%d]", &h2, &m2, &s2 ) == 3 ) if( sscanf( s, "[%d:%d:%d]", &h2, &m2, &s2 ) == 3 )
p_subtitle->i_stop = ( (int64_t)h2 * 3600*1000 + p_subtitle->i_stop = ( (int64_t)h2 * 3600*1000 +
......
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