Commit 071c8f4a authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

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
parent 119f457c
......@@ -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;
}
......
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