diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-12 21:03:34 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-12 21:03:34 +0000 |
| commit | 7ef8d11baeaf1847ba7f1df5d858f8cffea9300d (patch) | |
| tree | a741fb49db8834efd4b46d760b89082547eb2a9d /src/plugins/Input/aac/decoder_aac.h | |
| parent | 6f301f5880f7efce76ed46e7b502830642b87370 (diff) | |
| download | qmmp-7ef8d11baeaf1847ba7f1df5d858f8cffea9300d.tar.gz qmmp-7ef8d11baeaf1847ba7f1df5d858f8cffea9300d.tar.bz2 qmmp-7ef8d11baeaf1847ba7f1df5d858f8cffea9300d.zip | |
coding style fixes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9470 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/aac/decoder_aac.h')
| -rw-r--r-- | src/plugins/Input/aac/decoder_aac.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/src/plugins/Input/aac/decoder_aac.h b/src/plugins/Input/aac/decoder_aac.h index 4f2c3590b..e8a2329b1 100644 --- a/src/plugins/Input/aac/decoder_aac.h +++ b/src/plugins/Input/aac/decoder_aac.h @@ -21,12 +21,9 @@ #ifndef DECODER_AAC_H #define DECODER_AAC_H - #include <neaacdec.h> - #include <qmmp/decoder.h> - struct aac_data { NeAACDecHandle handle; @@ -35,7 +32,7 @@ struct aac_data class DecoderAAC : public Decoder { public: - DecoderAAC(QIODevice *); + explicit DecoderAAC(QIODevice *); virtual ~DecoderAAC(); @@ -51,14 +48,14 @@ public: void seek(qint64 time) override; private: - struct aac_data *m_data; - char* m_input_buf; - void* m_sample_buf; - int m_sample_buf_at; - qint64 m_sample_buf_size; - int m_bitrate; - ulong m_input_at; - qint64 m_totalTime; + struct aac_data *m_data = nullptr; + char *m_input_buf = nullptr; + void *m_sample_buf = nullptr; + int m_sample_buf_at = 0; + qint64 m_sample_buf_size = 0; + int m_bitrate = 0; + ulong m_input_at = 0; + qint64 m_totalTime = 0; }; |
