diff options
Diffstat (limited to 'src/plugins/Input/opus')
| -rw-r--r-- | src/plugins/Input/opus/decoder_opus.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/plugins/Input/opus/decoder_opus.cpp b/src/plugins/Input/opus/decoder_opus.cpp index 0441e944c..7823337c8 100644 --- a/src/plugins/Input/opus/decoder_opus.cpp +++ b/src/plugins/Input/opus/decoder_opus.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2013-2015 by Ilya Kotov * + * Copyright (C) 2013-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -93,15 +93,6 @@ bool DecoderOpus::initialize() return false; } - if (!input()->isOpen()) - { - if (!input()->open(QIODevice::ReadOnly)) - { - qWarning("DecoderOpus: unable to open input. Error: %s",qPrintable(input()->errorString())); - return false; - } - } - OpusFileCallbacks opuscb = { opusread, |
