aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-12 18:47:27 +0200
committerMax Kellermann <max@duempel.org>2014-05-12 18:47:27 +0200
commit9e5b56b4758691fb14ba1fb63f78fc5a80bbdf6a (patch)
tree13ad45f82939c2012b0671174a2ab2d9a158ce7e
parentdd383037fd20a5d36382086930a0026e4be32f89 (diff)
downloadmpd-9e5b56b4758691fb14ba1fb63f78fc5a80bbdf6a.tar.gz
mpd-9e5b56b4758691fb14ba1fb63f78fc5a80bbdf6a.tar.xz
mpd-9e5b56b4758691fb14ba1fb63f78fc5a80bbdf6a.zip
input/cdio: initialize attribute "buffer_lsn"
-rw-r--r--src/input/plugins/CdioParanoiaInputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/plugins/CdioParanoiaInputPlugin.cxx b/src/input/plugins/CdioParanoiaInputPlugin.cxx
index 093cc99b2..842aecdd1 100644
--- a/src/input/plugins/CdioParanoiaInputPlugin.cxx
+++ b/src/input/plugins/CdioParanoiaInputPlugin.cxx
@@ -63,7 +63,8 @@ struct CdioParanoiaInputStream final : public InputStream {
CdioParanoiaInputStream(const char *_uri, Mutex &_mutex, Cond &_cond)
:InputStream(_uri, _mutex, _cond),
- drv(nullptr), cdio(nullptr), para(nullptr)
+ drv(nullptr), cdio(nullptr), para(nullptr),
+ buffer_lsn(-1)
{
}