From 18670c38c2ee9803687f031cec3e065379cf7d75 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 1 Aug 2016 09:23:07 +0000 Subject: removed useless code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6624 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/opus/decoder_opus.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/plugins/Input/opus/decoder_opus.cpp') 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, -- cgit v1.2.3-13-gbd6f