aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/wavpack_plugin.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-05 00:36:55 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-05 00:36:55 -0700
commitc4802008b899cc2d272d5e9b6c7000736ed3a6df (patch)
tree5d9146af43e9999ed32e726d52de7e0d2674958c /src/inputPlugins/wavpack_plugin.c
parent9beb6b61ab28122de049da918afad424b1e92c42 (diff)
parent1533279fb18b2b0f53345f0e0727d2f0f968c00d (diff)
downloadmpd-c4802008b899cc2d272d5e9b6c7000736ed3a6df.tar.gz
mpd-c4802008b899cc2d272d5e9b6c7000736ed3a6df.tar.xz
mpd-c4802008b899cc2d272d5e9b6c7000736ed3a6df.zip
Merge commit '1533279fb18b2b0f53345f0e0727d2f0f968c00d'
* commit '1533279fb18b2b0f53345f0e0727d2f0f968c00d': directory: reuse existing directory if found on update song: better handling of existing songs when rereading DB tag: merge clearMpdTag into tag_free song: start avoiding race in updateSongInfo command: get rid of specialized list handlers directory: simplify list update handling logic main_notify: define main_task so we can use it for assertions directory: streamline deletes song: start avoiding race in updateSongInfo playlist: small lines of code reduction Revert "Start using song pointers in core data structures" Conflicts: src/playlist.c
Diffstat (limited to 'src/inputPlugins/wavpack_plugin.c')
-rw-r--r--src/inputPlugins/wavpack_plugin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/inputPlugins/wavpack_plugin.c b/src/inputPlugins/wavpack_plugin.c
index 8bba8ae2b..b6da51e5e 100644
--- a/src/inputPlugins/wavpack_plugin.c
+++ b/src/inputPlugins/wavpack_plugin.c
@@ -429,10 +429,8 @@ static int wavpack_open_wvc(InputStream *is_wvc)
char wvc_url[MPD_PATH_MAX];
size_t len;
- /* This is the only reader of dc.current_song */
- if (!get_song_url(wvc_url, dc.current_song))
- return 0;
-
+ /* This is the only reader of dc.utf8url (in inputPlugins) */
+ pathcpy_trunc(wvc_url, dc.utf8url);
len = strlen(wvc_url);
if ((len + 2) >= MPD_PATH_MAX)
return 0;