song: updateSongInfo: left out charset conversion when going thread-safe
git-svn-id: https://svn.musicpd.org/mpd/trunk@7124 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
4c88ef34bb
commit
00e0224996
|
@ -294,8 +294,10 @@ int updateSongInfo(Song * song)
|
|||
InputPlugin *plugin;
|
||||
unsigned int next = 0;
|
||||
char path_max_tmp[MPD_PATH_MAX];
|
||||
char *abs_path = rmp2amp_r(path_max_tmp,
|
||||
get_song_url(path_max_tmp, song));
|
||||
char abs_path[MPD_PATH_MAX];
|
||||
|
||||
utf8_to_fs_charset(abs_path, get_song_url(path_max_tmp, song));
|
||||
rmp2amp_r(abs_path, abs_path);
|
||||
|
||||
if (song->tag)
|
||||
freeMpdTag(song->tag);
|
||||
|
|
Loading…
Reference in New Issue