From 6773adc7716eea7656c4590b54f7c99840ff4087 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 15:34:48 +0200 Subject: InputStream: convert to class --- src/TagStream.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/TagStream.cxx') diff --git a/src/TagStream.cxx b/src/TagStream.cxx index b84166825..98cbe193b 100644 --- a/src/TagStream.cxx +++ b/src/TagStream.cxx @@ -44,10 +44,10 @@ CheckDecoderPlugin(const DecoderPlugin &plugin, bool tag_stream_scan(InputStream &is, const tag_handler &handler, void *ctx) { - assert(is.ready); + assert(is.IsReady()); - const char *const suffix = uri_get_suffix(is.uri.c_str()); - const char *const mime = is.mime.empty() ? nullptr : is.mime.c_str(); + const char *const suffix = uri_get_suffix(is.GetURI()); + const char *const mime = is.GetMimeType(); if (suffix == nullptr && mime == nullptr) return false; -- cgit v1.2.3