aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index c8f19a33f..d6171a5fe 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -39,11 +39,8 @@ static void decodeStart(void)
if (song_is_file(song))
map_song_fs(song, path_max_fs);
- else {
- char path_max_utf8[MPD_PATH_MAX];
- song_get_url(song, path_max_utf8);
- pathcpy_trunc(path_max_fs, path_max_utf8);
- }
+ else
+ song_get_url(song, path_max_fs);
dc.current_song = dc.next_song; /* NEED LOCK */
if (openInputStream(&inStream, path_max_fs) < 0) {