Commit 6b40432a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

AVI: fix track names character set (fixes #2334)

parent c25958fb
......@@ -630,11 +630,7 @@ static int Open( vlc_object_t * p_this )
continue;
}
if( p_strn )
{
/* The charset of p_strn is undefined */
EnsureUTF8( p_strn->p_str );
fmt.psz_description = strdup( p_strn->p_str );
}
fmt.psz_description = FromLatin1( p_strn->p_str );
if( tk->p_out_muxed == NULL )
tk->p_es = es_out_Add( p_demux->out, &fmt );
TAB_APPEND( p_sys->i_track, p_sys->track, tk );
......
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