git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd47dbd
)
Fix compilation
author
Rafaël Carré
<funman@videolan.org>
Sun, 23 Mar 2008 23:12:42 +0000
(23:12 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Sun, 23 Mar 2008 23:12:42 +0000
(23:12 +0000)
modules/codec/subtitles/subsdec.c
patch
|
blob
|
history
diff --git
a/modules/codec/subtitles/subsdec.c
b/modules/codec/subtitles/subsdec.c
index
a4acb80
..
82d1e66
100644
(file)
--- 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 );