]> git.sesse.net Git - vlc/commitdiff
Fix compilation
authorRafaël Carré <funman@videolan.org>
Sun, 23 Mar 2008 23:12:42 +0000 (23:12 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 23 Mar 2008 23:12:42 +0000 (23:12 +0000)
modules/codec/subtitles/subsdec.c

index a4acb80c7e3b2cb52162295c1d32704353fea060..82d1e662be2ff1e1b5143b4611c57d8a246a27e0 100644 (file)
@@ -572,7 +572,7 @@ static char *StripTags( char *psz_subtitle )
  */
 static char *CreateHtmlSubtitle( char *psz_subtitle )
 {
-    char    psz_tag = malloc( ( strlen( psz_subtitle ) / 3 ) + 1 );
+    char   *psz_tag = malloc( ( strlen( psz_subtitle ) / 3 ) + 1 );
     if( !psz_tag ) return NULL;
     size_t  i_buf_size     = strlen( psz_subtitle ) + 100;
     char   *psz_html_start = malloc( i_buf_size );