diff options
author | Max Kellermann <max@duempel.org> | 2008-04-15 05:57:14 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-15 05:57:14 +0000 |
commit | 071c8f4ac760eca2e47a33764dcbe4bf004e87f3 (patch) | |
tree | b257e1a79fc7b9b3121f7459b7583f3f3462dc86 /src/inputPlugins/wavpack_plugin.c | |
parent | 119f457cfff15b856927978462aa9d3d0d42e61b (diff) |
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/inputPlugins/wavpack_plugin.c')
-rw-r--r-- | src/inputPlugins/wavpack_plugin.c | 2 |
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; } |