diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-07-26 08:58:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-07-26 08:58:59 +0000 |
| commit | 45b203105b980162549fc97106c6353a23571106 (patch) | |
| tree | e81c2e5db07e3643b59e6d653195e40fa34855c1 /src/plugins/Input/aac | |
| parent | 62904593cc27e86a32aa07f43108a160ec52371d (diff) | |
| download | qmmp-45b203105b980162549fc97106c6353a23571106.tar.gz qmmp-45b203105b980162549fc97106c6353a23571106.tar.bz2 qmmp-45b203105b980162549fc97106c6353a23571106.zip | |
removed function DecoderFactory::supports
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6603 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/aac')
| -rw-r--r-- | src/plugins/Input/aac/decoderaacfactory.cpp | 5 | ||||
| -rw-r--r-- | src/plugins/Input/aac/decoderaacfactory.h | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/Input/aac/decoderaacfactory.cpp b/src/plugins/Input/aac/decoderaacfactory.cpp index 9dd0b7063..836b3f541 100644 --- a/src/plugins/Input/aac/decoderaacfactory.cpp +++ b/src/plugins/Input/aac/decoderaacfactory.cpp @@ -30,11 +30,6 @@ // DecoderAACFactory -bool DecoderAACFactory::supports(const QString &source) const -{ - return (source.right(4).toLower() == ".aac"); -} - bool DecoderAACFactory::canDecode(QIODevice *input) const { AACFile aac_file(input, false, false); diff --git a/src/plugins/Input/aac/decoderaacfactory.h b/src/plugins/Input/aac/decoderaacfactory.h index 40189858d..2a10b8152 100644 --- a/src/plugins/Input/aac/decoderaacfactory.h +++ b/src/plugins/Input/aac/decoderaacfactory.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2015 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 * @@ -37,7 +37,6 @@ Q_OBJECT Q_INTERFACES(DecoderFactory) public: - bool supports(const QString &source) const; bool canDecode(QIODevice *input) const; const DecoderProperties properties() const; Decoder *create(const QString&, QIODevice *); |
