summaryrefslogtreecommitdiff
path: root/src/playlist/AsxPlaylistPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist/AsxPlaylistPlugin.cxx')
-rw-r--r--src/playlist/AsxPlaylistPlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist/AsxPlaylistPlugin.cxx b/src/playlist/AsxPlaylistPlugin.cxx
index 14063fdf2..23985cad8 100644
--- a/src/playlist/AsxPlaylistPlugin.cxx
+++ b/src/playlist/AsxPlaylistPlugin.cxx
@@ -205,7 +205,7 @@ asx_parser_destroy(gpointer data)
*/
static SongEnumerator *
-asx_open_stream(struct input_stream *is)
+asx_open_stream(InputStream &is)
{
AsxParser parser;
GMarkupParseContext *context;
@@ -222,7 +222,7 @@ asx_open_stream(struct input_stream *is)
&parser, asx_parser_destroy);
while (true) {
- nbytes = is->LockRead(buffer, sizeof(buffer), error2);
+ nbytes = is.LockRead(buffer, sizeof(buffer), error2);
if (nbytes == 0) {
if (error2.IsDefined()) {
g_markup_parse_context_free(context);