[vlc-devel] commit: Fix my previous commit (Christophe Mutricy )

git version control git at videolan.org
Sat Nov 22 19:32:14 CET 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sat Nov 22 18:31:04 2008 +0000| [80c485427a5167340f27f43a7cf5620dfe00cede] | committer: Christophe Mutricy 

Fix my previous commit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=80c485427a5167340f27f43a7cf5620dfe00cede
---

 modules/demux/subtitle.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index e3df463..b0e8466 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -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 +




More information about the vlc-devel mailing list