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/mpeg/decoder_mpg123.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/mpeg/decoder_mpg123.h')
| -rw-r--r-- | src/plugins/Input/mpeg/decoder_mpg123.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Input/mpeg/decoder_mpg123.h b/src/plugins/Input/mpeg/decoder_mpg123.h index 80f4a61ac..a72d7e15a 100644 --- a/src/plugins/Input/mpeg/decoder_mpg123.h +++ b/src/plugins/Input/mpeg/decoder_mpg123.h @@ -30,7 +30,7 @@ class QIODevice; class DecoderMPG123 : public Decoder { public: - DecoderMPG123(QIODevice *i); + explicit DecoderMPG123(QIODevice *i); virtual ~DecoderMPG123(); // standard decoder API @@ -43,12 +43,12 @@ public: private: void cleanup(mpg123_handle *handle); void setMPG123Format(int encoding); - mpg123_handle *m_handle; + mpg123_handle *m_handle = nullptr; mpg123_frameinfo m_frame_info; - qint64 m_totalTime; - long m_rate; - int m_mpg123_encoding; - int m_errors; + qint64 m_totalTime = 0; + long m_rate = 0; + int m_mpg123_encoding = MPG123_ENC_SIGNED_16; + int m_errors = 0; }; |
