aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-15 05:57:14 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-15 05:57:14 +0000
commit071c8f4ac760eca2e47a33764dcbe4bf004e87f3 (patch)
treeb257e1a79fc7b9b3121f7459b7583f3f3462dc86 /src
parent119f457cfff15b856927978462aa9d3d0d42e61b (diff)
downloadmpd-071c8f4ac760eca2e47a33764dcbe4bf004e87f3.tar.gz
mpd-071c8f4ac760eca2e47a33764dcbe4bf004e87f3.tar.xz
mpd-071c8f4ac760eca2e47a33764dcbe4bf004e87f3.zip
use dc.current_song instead of pc.current_song
When we are in an input plugin, dc.current_song should already be set. Use it instead of pc.current_song. git-svn-id: https://svn.musicpd.org/mpd/trunk@7363 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/inputPlugins/wavpack_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/wavpack_plugin.c b/src/inputPlugins/wavpack_plugin.c
index 6ab3d4d7a..7a7145141 100644
--- a/src/inputPlugins/wavpack_plugin.c
+++ b/src/inputPlugins/wavpack_plugin.c
@@ -463,7 +463,7 @@ static int wavpack_streamdecode(InputStream *is)
* As we use dc.utf8url, this function will be bad for
* single files. utf8url is not absolute file path :/
*/
- utf8url = get_song_url(tmp, pc.current_song);
+ utf8url = get_song_url(tmp, dc.current_song);
if (utf8url == NULL) {
break;
}