From 93deb844996120b6326345d6d87e803142dd1968 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 23 Oct 2013 22:08:59 +0200 Subject: input_stream: rename struct to InputStream --- src/PlaylistAny.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/PlaylistAny.cxx') diff --git a/src/PlaylistAny.cxx b/src/PlaylistAny.cxx index 997c59a4e..52304700f 100644 --- a/src/PlaylistAny.cxx +++ b/src/PlaylistAny.cxx @@ -31,7 +31,7 @@ static SongEnumerator * playlist_open_remote(const char *uri, Mutex &mutex, Cond &cond, - struct input_stream **is_r) + InputStream **is_r) { assert(uri_has_scheme(uri)); @@ -42,7 +42,7 @@ playlist_open_remote(const char *uri, Mutex &mutex, Cond &cond, } Error error; - input_stream *is = input_stream::Open(uri, mutex, cond, error); + InputStream *is = InputStream::Open(uri, mutex, cond, error); if (is == nullptr) { if (error.IsDefined()) FormatError(error, "Failed to open %s", uri); @@ -50,7 +50,7 @@ playlist_open_remote(const char *uri, Mutex &mutex, Cond &cond, return nullptr; } - playlist = playlist_list_open_stream(is, uri); + playlist = playlist_list_open_stream(*is, uri); if (playlist == nullptr) { is->Close(); return nullptr; @@ -62,7 +62,7 @@ playlist_open_remote(const char *uri, Mutex &mutex, Cond &cond, SongEnumerator * playlist_open_any(const char *uri, Mutex &mutex, Cond &cond, - struct input_stream **is_r) + InputStream **is_r) { return uri_has_scheme(uri) ? playlist_open_remote(uri, mutex, cond, is_r) -- cgit v1.2.3