Commit 00e02249 authored by Eric Wong's avatar Eric Wong

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
parent 4c88ef34
...@@ -294,8 +294,10 @@ int updateSongInfo(Song * song) ...@@ -294,8 +294,10 @@ int updateSongInfo(Song * song)
InputPlugin *plugin; InputPlugin *plugin;
unsigned int next = 0; unsigned int next = 0;
char path_max_tmp[MPD_PATH_MAX]; char path_max_tmp[MPD_PATH_MAX];
char *abs_path = rmp2amp_r(path_max_tmp, char abs_path[MPD_PATH_MAX];
get_song_url(path_max_tmp, song));
utf8_to_fs_charset(abs_path, get_song_url(path_max_tmp, song));
rmp2amp_r(abs_path, abs_path);
if (song->tag) if (song->tag)
freeMpdTag(song->tag); freeMpdTag(song->tag);
......
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