From 9508ea982b8feb012a9d354a7c80005421a854bc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 14 Oct 2013 22:38:29 +0200 Subject: fs/Path: add method IsAbsolute() --- src/DecoderThread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DecoderThread.cxx') diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx index 1aa60ce3f..aacbb1fb7 100644 --- a/src/DecoderThread.cxx +++ b/src/DecoderThread.cxx @@ -153,7 +153,7 @@ decoder_file_decode(const struct decoder_plugin *plugin, assert(decoder->stream_tag == NULL); assert(decoder->decoder_tag == NULL); assert(path != NULL); - assert(g_path_is_absolute(path)); + assert(Path::IsAbsoluteFS(path)); assert(decoder->dc->state == DecoderState::START); FormatDebug(decoder_thread_domain, "probing plugin %s", plugin->name); -- cgit v1.2.3