From 7d0269d2cec68c7e55df5b6db3d2266741534b17 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Sep 2013 00:06:31 +0200 Subject: InputLegacy: move functions to the input_stream class --- src/PlaylistAny.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/PlaylistAny.cxx') diff --git a/src/PlaylistAny.cxx b/src/PlaylistAny.cxx index 9070f12a6..e84d055bd 100644 --- a/src/PlaylistAny.cxx +++ b/src/PlaylistAny.cxx @@ -23,7 +23,7 @@ #include "PlaylistRegistry.hxx" #include "util/UriUtil.hxx" #include "util/Error.hxx" -#include "InputLegacy.hxx" +#include "InputStream.hxx" #include @@ -41,7 +41,7 @@ playlist_open_remote(const char *uri, Mutex &mutex, Cond &cond, } Error error; - input_stream *is = input_stream_open(uri, mutex, cond, error); + input_stream *is = input_stream::Open(uri, mutex, cond, error); if (is == NULL) { if (error.IsDefined()) g_warning("Failed to open %s: %s", @@ -52,7 +52,7 @@ playlist_open_remote(const char *uri, Mutex &mutex, Cond &cond, playlist = playlist_list_open_stream(is, uri); if (playlist == NULL) { - input_stream_close(is); + is->Close(); return NULL; } -- cgit v1.2.3