aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/CdioParanoiaInputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/CdioParanoiaInputPlugin.cxx')
-rw-r--r--src/input/CdioParanoiaInputPlugin.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/input/CdioParanoiaInputPlugin.cxx b/src/input/CdioParanoiaInputPlugin.cxx
index 129eb75b7..942eefb99 100644
--- a/src/input/CdioParanoiaInputPlugin.cxx
+++ b/src/input/CdioParanoiaInputPlugin.cxx
@@ -56,11 +56,10 @@ struct CdioParanoiaInputStream {
CdioParanoiaInputStream(const char *uri, Mutex &mutex, Cond &cond,
int _trackno)
- :drv(nullptr), cdio(nullptr), para(nullptr),
+ :base(input_plugin_cdio_paranoia, uri, mutex, cond),
+ drv(nullptr), cdio(nullptr), para(nullptr),
trackno(_trackno)
{
- input_stream_init(&base, &input_plugin_cdio_paranoia, uri,
- mutex, cond);
}
~CdioParanoiaInputStream() {
@@ -70,8 +69,6 @@ struct CdioParanoiaInputStream {
cdio_cddap_close_no_free_cdio(drv);
if (cdio != nullptr)
cdio_destroy(cdio);
-
- input_stream_deinit(&base);
}
};