aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/cue/decoder_cue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/cue/decoder_cue.h')
-rw-r--r--src/plugins/Input/cue/decoder_cue.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/plugins/Input/cue/decoder_cue.h b/src/plugins/Input/cue/decoder_cue.h
index f0aa7b906..216f29cad 100644
--- a/src/plugins/Input/cue/decoder_cue.h
+++ b/src/plugins/Input/cue/decoder_cue.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2016 by Ilya Kotov *
+ * Copyright (C) 2008-2020 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -31,7 +31,7 @@ class CueFile;
class DecoderCUE : public Decoder
{
public:
- DecoderCUE(const QString &url);
+ explicit DecoderCUE(const QString &url);
virtual ~DecoderCUE();
// Standard Decoder API
@@ -44,18 +44,18 @@ public:
void next() override;
private:
- Decoder *m_decoder;
- qint64 m_length;
- qint64 m_offset;
- qint64 length_in_bytes;
- qint64 m_totalBytes;
+ Decoder *m_decoder = nullptr;
+ qint64 m_length = 0;
+ qint64 m_offset = 0;
+ qint64 length_in_bytes = 0;
+ qint64 m_totalBytes = 0;
QString m_path;
- CueFile *m_cueFile;
- int m_track;
- char *m_buf; //buffer for remainig data
- qint64 m_buf_size;
- qint64 m_sz; //sample size
- QIODevice *m_input;
+ CueFile *m_cueFile = nullptr;
+ int m_track = 0;
+ char *m_buf = nullptr; //buffer for remainig data
+ qint64 m_buf_size = 0;
+ qint64 m_sz = 0; //sample size
+ QIODevice *m_input = nullptr;
};
#endif // DECODER_CUE_H