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

git version control git at videolan.org
Sat Nov 22 19:33:08 CET 2008


vlc | branch: 0.9-bugfix | Christophe Mutricy <xtophe at videolan.org> | Sat Nov 22 18:31:04 2008 +0000| [5a127f08f7686de3bedbf763e822ce0acf78dfa8] | committer: Christophe Mutricy 

Fix my previous commit
(cherry picked from commit 80c485427a5167340f27f43a7cf5620dfe00cede)

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

 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 95af594..c05753e 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -2020,8 +2020,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