Commit 11e0b5e5 authored by Laurent Aimar's avatar Laurent Aimar

Do not call EnsureUTF8 on NULL string (cdtext).

parent b1e0a03d
...@@ -1330,6 +1330,7 @@ static int CdTextParse( vlc_meta_t ***ppp_tracks, int *pi_tracks, ...@@ -1330,6 +1330,7 @@ static int CdTextParse( vlc_meta_t ***ppp_tracks, int *pi_tracks,
for( int i = 0; i <= i_track_last; i++ ) for( int i = 0; i <= i_track_last; i++ )
{ {
/* */ /* */
if( pppsz_info[i][j] )
EnsureUTF8( pppsz_info[i][j] ); EnsureUTF8( pppsz_info[i][j] );
/* */ /* */
......
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