Commit 76daa017 authored by Laurent Aimar's avatar Laurent Aimar

Added missing EnsureUTF8 for CD-TEXT.

parent b272e1a1
...@@ -1326,9 +1326,13 @@ static int CdTextParse( vlc_meta_t ***ppp_tracks, int *pi_tracks, ...@@ -1326,9 +1326,13 @@ static int CdTextParse( vlc_meta_t ***ppp_tracks, int *pi_tracks,
for( int j = 0; j < 0x10; j++ ) for( int j = 0; j < 0x10; j++ )
{ {
const char *psz_default = pppsz_info[0][j];
for( int i = 0; i <= i_track_last; i++ ) 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]; const char *psz_value = pppsz_info[i][j];
if( !psz_value && !psz_default ) if( !psz_value && !psz_default )
......
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