diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:07 +0200 |
commit | 67bf4b448dad25f2f0c60451f53fcacb0a0bde15 (patch) | |
tree | 374ce955b4a26cc927f82d8ab5a5f92b11288f20 /src/inputPlugins | |
parent | c60209ff04e51a1ea95b489d411469712e776d3a (diff) | |
download | mpd-67bf4b448dad25f2f0c60451f53fcacb0a0bde15.tar.gz mpd-67bf4b448dad25f2f0c60451f53fcacb0a0bde15.tar.xz mpd-67bf4b448dad25f2f0c60451f53fcacb0a0bde15.zip |
added decoder_get_url()
The wavpack decoder plugin implements a hack, and it needs the song
URL for that. This API (and the hack) should be revised later, but
add that function for now.
Diffstat (limited to 'src/inputPlugins')
-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 6816da83d..76cb03d30 100644 --- a/src/inputPlugins/wavpack_plugin.c +++ b/src/inputPlugins/wavpack_plugin.c @@ -456,7 +456,7 @@ static int wavpack_streamdecode(struct decoder * decoder, 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, dc.current_song); + utf8url = decoder_get_url(decoder, tmp); if (utf8url == NULL) { break; } |