Commit 83e3e91f authored by Laurent Aimar's avatar Laurent Aimar

Fixed an invalid msg_Err format (potential segfault).

parent e22cc82c
......@@ -212,7 +212,7 @@ static int Open ( vlc_object_t *p_this )
}
if( !p_detect->fmt )
{
msg_Err( p_demux, "detected %s subtitle format, no asa support" );
msg_Err( p_demux, "detected %s subtitle format, no asa support", p_detect->name );
free( p_sys );
return VLC_EGENERIC;
}
......@@ -276,6 +276,8 @@ static int ProcessLine( demux_t *p_demux, void *p_arg,
subtitle_t *p_subtitle;
char *psz_text;
VLC_UNUSED(p_arg);
if( p_sys->i_subtitles >= p_sys->i_subs_alloc )
{
p_sys->i_subs_alloc += 500;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment