diff options
author | Max Kellermann <max@duempel.org> | 2014-05-11 15:34:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-05-11 15:34:48 +0200 |
commit | 6773adc7716eea7656c4590b54f7c99840ff4087 (patch) | |
tree | b71756798018721f3aa472ce1b81aa14e84239b8 /src/TagStream.cxx | |
parent | ee2afb35dd715d9f34a938cd54ed02a3c0091a78 (diff) | |
download | mpd-6773adc7716eea7656c4590b54f7c99840ff4087.tar.gz mpd-6773adc7716eea7656c4590b54f7c99840ff4087.tar.xz mpd-6773adc7716eea7656c4590b54f7c99840ff4087.zip |
InputStream: convert to class
Diffstat (limited to 'src/TagStream.cxx')
-rw-r--r-- | src/TagStream.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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; |