Fix my previous commit
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 22 Nov 2008 18:31:04 +0000 (18:31 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 22 Nov 2008 18:31:04 +0000 (18:31 +0000)
modules/demux/subtitle.c

index e3df463..b0e8466 100644 (file)
@@ -2024,8 +2024,10 @@ static int ParseSubViewer1( demux_t *p_demux, subtitle_t *p_subtitle, int i_idx
 
             s = TextGetLine( txt );
             if( !s )
+            {
                 free( psz_text );
                 return VLC_EGENERIC;
+            }
 
             if( sscanf( s, "[%d:%d:%d]", &h2, &m2, &s2 ) == 3 )
                 p_subtitle->i_stop  = ( (int64_t)h2 * 3600*1000 +