From 7e7141599cd04c0d721cbc4cbad5c50ab8e7dc73 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 9 Feb 2021 21:19:35 +0000 Subject: 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 --- src/plugins/Input/mpeg/decoder_mad.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/Input/mpeg/decoder_mad.h') 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; }; -- cgit v1.2.3-13-gbd6f