diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-08-01 09:23:07 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-08-01 09:23:07 +0000 |
| commit | 18670c38c2ee9803687f031cec3e065379cf7d75 (patch) | |
| tree | 03069b7d33b0caf433ab0dacb49596d896f0f3e8 /src/plugins/Input/aac | |
| parent | 53f4f2cc56a95bd625811bc7815492095a3892e4 (diff) | |
| download | qmmp-18670c38c2ee9803687f031cec3e065379cf7d75.tar.gz qmmp-18670c38c2ee9803687f031cec3e065379cf7d75.tar.bz2 qmmp-18670c38c2ee9803687f031cec3e065379cf7d75.zip | |
removed useless code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6624 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/aac')
| -rw-r--r-- | src/plugins/Input/aac/decoder_aac.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/plugins/Input/aac/decoder_aac.cpp b/src/plugins/Input/aac/decoder_aac.cpp index 049802261..657833c85 100644 --- a/src/plugins/Input/aac/decoder_aac.cpp +++ b/src/plugins/Input/aac/decoder_aac.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2012 by Ilya Kotov * + * Copyright (C) 2006-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -74,14 +74,6 @@ bool DecoderAAC::initialize() m_input_buf = new char[AAC_BUFFER_SIZE]; m_input_at = 0; - if (!input()->isOpen()) - { - if (!input()->open(QIODevice::ReadOnly)) - { - qWarning("DecoderAAC: %s", qPrintable(input()->errorString ())); - return false; - } - } AACFile aac_file(input()); if (!aac_file.isValid()) { |
