fs/Path: add method GetSuffix()
Type-safe wrapper for uri_get_suffix().
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user