From 071c8f4ac760eca2e47a33764dcbe4bf004e87f3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Apr 2008 05:57:14 +0000 Subject: 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 --- src/inputPlugins/wavpack_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3