aboutsummaryrefslogtreecommitdiffstats
path: root/src/InputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/InputStream.cxx (renamed from src/input_stream.c)7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/input_stream.c b/src/InputStream.cxx
index c82788f39..64f347555 100644
--- a/src/input_stream.c
+++ b/src/InputStream.cxx
@@ -19,10 +19,13 @@
#include "config.h"
#include "input_stream.h"
-#include "input_registry.h"
+#include "InputRegistry.hxx"
#include "input_plugin.h"
+
+extern "C" {
#include "input/rewind_input_plugin.h"
#include "uri.h"
+}
#include <glib.h>
#include <assert.h>
@@ -172,7 +175,7 @@ input_stream_lock_tag(struct input_stream *is)
assert(is->plugin != NULL);
if (is->plugin->tag == NULL)
- return false;
+ return nullptr;
if (is->mutex == NULL)
/* no locking */