From 76daa01762824d225c785be408883112b78e1201 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Tue, 24 Feb 2009 23:56:55 +0100 Subject: [PATCH] Added missing EnsureUTF8 for CD-TEXT. --- modules/access/vcd/cdrom.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c index c132288a5d..bf5b03f98e 100644 --- a/modules/access/vcd/cdrom.c +++ b/modules/access/vcd/cdrom.c @@ -1326,9 +1326,13 @@ static int CdTextParse( vlc_meta_t ***ppp_tracks, int *pi_tracks, for( int j = 0; j < 0x10; j++ ) { - const char *psz_default = pppsz_info[0][j]; for( int i = 0; i <= i_track_last; i++ ) { + /* */ + EnsureUTF8( pppsz_info[i][j] ); + + /* */ + const char *psz_default = pppsz_info[0][j]; const char *psz_value = pppsz_info[i][j]; if( !psz_value && !psz_default ) -- 2.39.2