aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mpeg/decoder_mad.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-02-09 21:19:35 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-02-09 21:19:35 +0000
commit7e7141599cd04c0d721cbc4cbad5c50ab8e7dc73 (patch)
tree2c3da62d3e5e5047cdad1e177d7a93b9b74c7d12 /src/plugins/Input/mpeg/decoder_mad.h
parent3f7a4110979a94f326a77ea20d3817f9623fd2f5 (diff)
downloadqmmp-7e7141599cd04c0d721cbc4cbad5c50ab8e7dc73.tar.gz
qmmp-7e7141599cd04c0d721cbc4cbad5c50ab8e7dc73.tar.bz2
qmmp-7e7141599cd04c0d721cbc4cbad5c50ab8e7dc73.zip
mpeg: added option to enable CRC checking
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9719 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mpeg/decoder_mad.h')
-rw-r--r--src/plugins/Input/mpeg/decoder_mad.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/Input/mpeg/decoder_mad.h b/src/plugins/Input/mpeg/decoder_mad.h
index b87ed6061..9764e1a70 100644
--- a/src/plugins/Input/mpeg/decoder_mad.h
+++ b/src/plugins/Input/mpeg/decoder_mad.h
@@ -31,7 +31,7 @@
class DecoderMAD : public Decoder
{
public:
- explicit DecoderMAD(QIODevice *i);
+ explicit DecoderMAD(bool crc, QIODevice *i);
virtual ~DecoderMAD();
// standard decoder API
@@ -98,6 +98,7 @@ private:
struct mad_frame m_frame;
struct mad_synth m_synth;
qint64 m_skip_bytes = 0, m_play_bytes = -1;
+ bool m_crc;
};