From 26344a540fbeaa1bede99c782f816fc0ed97c6e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 23 Mar 2008 23:12:42 +0000 Subject: [PATCH 1/1] Fix compilation --- modules/codec/subtitles/subsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/subtitles/subsdec.c b/modules/codec/subtitles/subsdec.c index a4acb80c7e..82d1e662be 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 ); -- 2.39.2