[vlc-devel] commit: Fix compilation ( Rafaël Carré )
git version control
git at videolan.org
Mon Mar 24 00:12:35 CET 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Mar 23 23:12:42 2008 +0000| [26344a540fbeaa1bede99c782f816fc0ed97c6e6]
Fix compilation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26344a540fbeaa1bede99c782f816fc0ed97c6e6
---
modules/codec/subtitles/subsdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/subtitles/subsdec.c b/modules/codec/subtitles/subsdec.c
index a4acb80..82d1e66 100644
--- a/modules/codec/subtitles/subsdec.c
+++ b/modules/codec/subtitles/subsdec.c
@@ -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 );
More information about the vlc-devel
mailing list