diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
| commit | 11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 (patch) | |
| tree | 09084901838b8d57f345a5379cf5915cde4a9921 /src/plugins/Input/vorbis | |
| parent | 013ee07b55a3738b28b5d46324392d8498b50f2b (diff) | |
| download | qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.gz qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.bz2 qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.zip | |
reapplied previous patch
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/vorbis')
| -rw-r--r-- | src/plugins/Input/vorbis/decoder_vorbis.cpp | 10 | ||||
| -rw-r--r-- | src/plugins/Input/vorbis/decodervorbisfactory.cpp | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/Input/vorbis/decoder_vorbis.cpp b/src/plugins/Input/vorbis/decoder_vorbis.cpp index 59fefb79f..7c87822e3 100644 --- a/src/plugins/Input/vorbis/decoder_vorbis.cpp +++ b/src/plugins/Input/vorbis/decoder_vorbis.cpp @@ -72,7 +72,7 @@ static long oggtell(void *src) DecoderVorbis::DecoderVorbis(const QString &url, QIODevice *i) : Decoder(i) { - inited = FALSE; + inited = false; m_totalTime = 0; m_section = 0; m_last_section = -1; @@ -89,12 +89,12 @@ DecoderVorbis::~DecoderVorbis() bool DecoderVorbis::initialize() { qDebug("DecoderVorbis: initialize"); - inited = FALSE; + inited = false; m_totalTime = 0; if (!input()) { qDebug("DecoderVorbis: cannot initialize. No input"); - return FALSE; + return false; } if (!input()->isOpen()) @@ -103,7 +103,7 @@ bool DecoderVorbis::initialize() { qWarning("%s",qPrintable("DecoderVorbis: failed to open input. " + input()->errorString () + ".")); - return FALSE; + return false; } } @@ -118,7 +118,7 @@ bool DecoderVorbis::initialize() { qWarning("DecoderVorbis: cannot open stream"); - return FALSE; + return false; } quint32 freq = 0; diff --git a/src/plugins/Input/vorbis/decodervorbisfactory.cpp b/src/plugins/Input/vorbis/decodervorbisfactory.cpp index a2b8d3474..12ed9ba0a 100644 --- a/src/plugins/Input/vorbis/decodervorbisfactory.cpp +++ b/src/plugins/Input/vorbis/decodervorbisfactory.cpp @@ -41,7 +41,7 @@ bool DecoderVorbisFactory::canDecode(QIODevice *input) const && !memcmp(buf + 29, "vorbis", 6)) return true; - return FALSE; + return false; } const DecoderProperties DecoderVorbisFactory::properties() const @@ -53,8 +53,8 @@ const DecoderProperties DecoderVorbisFactory::properties() const properties.description = tr("Ogg Vorbis Files"); properties.contentType = "application/ogg;audio/x-vorbis+ogg"; properties.hasAbout = true; - properties.hasSettings = FALSE; - properties.noInput = FALSE; + properties.hasSettings = false; + properties.noInput = false; return properties; } |
