From 21b9524ea5326ff9828c6ce2ec0e973180e93603 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 21 Jul 2009 19:13:33 +0000 Subject: removed unused code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1059 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/flac/decoder_flac.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/plugins/Input/flac/decoder_flac.cpp') diff --git a/src/plugins/Input/flac/decoder_flac.cpp b/src/plugins/Input/flac/decoder_flac.cpp index bd1a706b8..9c104d5ec 100644 --- a/src/plugins/Input/flac/decoder_flac.cpp +++ b/src/plugins/Input/flac/decoder_flac.cpp @@ -260,7 +260,6 @@ static void flac_callback_error (const FLAC__StreamDecoder *, DecoderFLAC::DecoderFLAC(QObject *parent, DecoderFactory *d, QIODevice *i, Output *o, const QString &path) : Decoder(parent, d, i, o) { - inited = FALSE; m_data = 0; m_path = path; m_data = new flac_data; @@ -284,8 +283,6 @@ DecoderFLAC::~DecoderFLAC() bool DecoderFLAC::initialize() { - inited = FALSE; - if (!data()->input) { QString p = m_path; @@ -394,17 +391,12 @@ bool DecoderFLAC::initialize() if(!m_cue_parser) m_totalTime = data()->length; - inited = TRUE; - qDebug("DecoderFLAC: initialize succes"); return TRUE; } qint64 DecoderFLAC::totalTime() { - if (! inited) - return 0; - return m_totalTime; } @@ -429,7 +421,6 @@ void DecoderFLAC::deinit() { if (data()) FLAC__stream_decoder_finish (data()->decoder); - inited = FALSE; if (!input() && data()->input) //delete internal input only { -- cgit v1.2.3-13-gbd6f