diff options
author | Max Kellermann <max@duempel.org> | 2013-10-23 22:08:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-23 23:12:02 +0200 |
commit | 93deb844996120b6326345d6d87e803142dd1968 (patch) | |
tree | d6c00669efffad1b15fc45e03158d6838a7e5827 /src/PlaylistAny.cxx | |
parent | c4d4011c63808a64ca20a4b03fd455a83c23cc33 (diff) | |
download | mpd-93deb844996120b6326345d6d87e803142dd1968.tar.gz mpd-93deb844996120b6326345d6d87e803142dd1968.tar.xz mpd-93deb844996120b6326345d6d87e803142dd1968.zip |
input_stream: rename struct to InputStream
Diffstat (limited to 'src/PlaylistAny.cxx')
-rw-r--r-- | src/PlaylistAny.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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) |