From 7ef8d11baeaf1847ba7f1df5d858f8cffea9300d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 12 Aug 2020 21:03:34 +0000 Subject: coding style fixes git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9470 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sndfile/decoder_sndfile.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/plugins/Input/sndfile/decoder_sndfile.h') diff --git a/src/plugins/Input/sndfile/decoder_sndfile.h b/src/plugins/Input/sndfile/decoder_sndfile.h index d202ad546..d651a87f7 100644 --- a/src/plugins/Input/sndfile/decoder_sndfile.h +++ b/src/plugins/Input/sndfile/decoder_sndfile.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2016 by Ilya Kotov * + * Copyright (C) 2007-2020 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -32,7 +32,7 @@ class DecoderSndFile : public Decoder { public: - DecoderSndFile(QIODevice *input); + explicit DecoderSndFile(QIODevice *input); virtual ~DecoderSndFile(); // Standard Decoder API @@ -43,14 +43,13 @@ public: void seek(qint64 time) override; private: - // helper functions void deinit(); - SNDFILE *m_sndfile; - int m_bitrate; - quint32 m_freq; - qint64 m_totalTime; + SNDFILE *m_sndfile = nullptr; + int m_bitrate = 0; + quint32 m_freq = 0; + qint64 m_totalTime = 0; SF_VIRTUAL_IO m_vio; }; -- cgit v1.2.3-13-gbd6f