aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-20 21:01:55 +0200
committerMax Kellermann <max@duempel.org>2009-10-20 21:01:55 +0200
commitc953d6409dffd476370ba639118cba97bcda2f35 (patch)
tree5920d5d03757ae9fd6fd753dcef7532d07bff96b /src/decoder_thread.c
parent447e4d3583d3394a25f0fb186f50cea45dd7f797 (diff)
mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ...
Try to be as portable as possible, use GLib path name functions and macros.
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 5140f2ec..846b1235 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -74,7 +74,7 @@ decoder_file_decode(const struct decoder_plugin *plugin,
assert(decoder->stream_tag == NULL);
assert(decoder->decoder_tag == NULL);
assert(path != NULL);
- assert(path[0] == '/');
+ assert(g_path_is_absolute(path));
assert(dc.state == DECODE_STATE_START);
decoder_unlock();