aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/PlaylistStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist/PlaylistStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/PlaylistStream.cxx b/src/playlist/PlaylistStream.cxx
index 32e049c78..b0febba2b 100644
--- a/src/playlist/PlaylistStream.cxx
+++ b/src/playlist/PlaylistStream.cxx
@@ -35,7 +35,7 @@ playlist_open_path_suffix(Path path, Mutex &mutex, Cond &cond)
{
assert(!path.IsNull());
- const char *suffix = uri_get_suffix(path.c_str());
+ const char *suffix = path.GetSuffix();
if (suffix == nullptr || !playlist_suffix_supported(suffix))
return nullptr;