diff --git a/src/input/plugins/CdioParanoiaInputPlugin.cxx b/src/input/plugins/CdioParanoiaInputPlugin.cxx index 842aecdd1..19fd33913 100644 --- a/src/input/plugins/CdioParanoiaInputPlugin.cxx +++ b/src/input/plugins/CdioParanoiaInputPlugin.cxx @@ -64,6 +64,7 @@ struct CdioParanoiaInputStream final : public InputStream { CdioParanoiaInputStream(const char *_uri, Mutex &_mutex, Cond &_cond) :InputStream(_uri, _mutex, _cond), drv(nullptr), cdio(nullptr), para(nullptr), + lsn_relofs(0), buffer_lsn(-1) { } @@ -237,8 +238,6 @@ input_cdio_open(const char *uri, return nullptr; } - i->lsn_relofs = 0; - if (parsed_uri.track >= 0) { i->lsn_from = cdio_get_track_lsn(i->cdio, parsed_uri.track); i->lsn_to = cdio_get_track_last_lsn(i->cdio, parsed_uri.track);