]> git.sesse.net Git - vlc/commitdiff
* Use EnsureUTF8 on the trackname of avi's. (no garentueed charset).
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 22 Feb 2006 16:27:50 +0000 (16:27 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 22 Feb 2006 16:27:50 +0000 (16:27 +0000)
modules/demux/avi/avi.c

index 8dde4b08b16d2122752429f1a644de36f6ca3520..d4005d382971483f43a2ec10a53e0d221e3eb9d1 100644 (file)
@@ -503,6 +503,8 @@ static int Open( vlc_object_t * p_this )
         }
         if( p_strn )
         {
+            /* The charset of p_strn is undefined */
+            EnsureUTF8( p_strn->p_str );
             fmt.psz_description = strdup( p_strn->p_str );
         }
         tk->p_es = es_out_Add( p_demux->out, &fmt );