aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-08 19:22:20 +0100
committerMax Kellermann <max@duempel.org>2014-01-08 19:49:21 +0100
commit89a78a5f3c4f648e9f20e83ac1d4769eff24c5b8 (patch)
tree3ead8c8c2d48c44d12808fdc4ec9d8d97d9f2ae4 /src/input
parentbc23a6bb05705d5551117528dfcbfcfedfee4c90 (diff)
downloadmpd-89a78a5f3c4f648e9f20e83ac1d4769eff24c5b8.tar.gz
mpd-89a78a5f3c4f648e9f20e83ac1d4769eff24c5b8.tar.xz
mpd-89a78a5f3c4f648e9f20e83ac1d4769eff24c5b8.zip
DespotifyUtils: pass const ds_track reference
Diffstat (limited to 'src/input')
-rw-r--r--src/input/DespotifyInputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/DespotifyInputPlugin.cxx b/src/input/DespotifyInputPlugin.cxx
index 38c2aac75..787e0722e 100644
--- a/src/input/DespotifyInputPlugin.cxx
+++ b/src/input/DespotifyInputPlugin.cxx
@@ -52,7 +52,7 @@ class DespotifyInputStream {
ds_track *_track)
:base(input_plugin_despotify, uri, mutex, cond),
session(_session), track(_track),
- tag(mpd_despotify_tag_from_track(track)),
+ tag(mpd_despotify_tag_from_track(*track)),
len_available(0), eof(false) {
memset(&pcm, 0, sizeof(pcm));