aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/vorbis
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-08-01 09:23:07 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-08-01 09:23:07 +0000
commit18670c38c2ee9803687f031cec3e065379cf7d75 (patch)
tree03069b7d33b0caf433ab0dacb49596d896f0f3e8 /src/plugins/Input/vorbis
parent53f4f2cc56a95bd625811bc7815492095a3892e4 (diff)
downloadqmmp-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/vorbis')
-rw-r--r--src/plugins/Input/vorbis/decoder_vorbis.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/Input/vorbis/decoder_vorbis.cpp b/src/plugins/Input/vorbis/decoder_vorbis.cpp
index 765572c91..13e7dbab4 100644
--- a/src/plugins/Input/vorbis/decoder_vorbis.cpp
+++ b/src/plugins/Input/vorbis/decoder_vorbis.cpp
@@ -95,16 +95,6 @@ bool DecoderVorbis::initialize()
return false;
}
- if (!input()->isOpen())
- {
- if (!input()->open(QIODevice::ReadOnly))
- {
- qWarning("%s",qPrintable("DecoderVorbis: failed to open input. " +
- input()->errorString () + "."));
- return false;
- }
- }
-
ov_callbacks oggcb =
{
oggread,