Commit 552c8f6d authored by hartman's avatar hartman
Browse files

* Use EnsureUTF8 on the trackname of avi's. (no garentueed charset).

parent 32ab2ef5
...@@ -503,6 +503,8 @@ static int Open( vlc_object_t * p_this ) ...@@ -503,6 +503,8 @@ static int Open( vlc_object_t * p_this )
} }
if( p_strn ) 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 = strdup( p_strn->p_str );
} }
tk->p_es = es_out_Add( p_demux->out, &fmt ); tk->p_es = es_out_Add( p_demux->out, &fmt );
......
Supports Markdown
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