From 11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 11 Mar 2010 19:32:01 +0000 Subject: reapplied previous patch git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp') diff --git a/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp b/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp index 89fb95c88..43477702b 100644 --- a/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp +++ b/src/plugins/Input/ffmpeg/decoderffmpegfactory.cpp @@ -61,7 +61,7 @@ bool DecoderFFmpegFactory::supports(const QString &source) const if (regexp.exactMatch(source)) return true; } - return FALSE; + return false; } bool DecoderFFmpegFactory::canDecode(QIODevice *i) const @@ -82,18 +82,18 @@ bool DecoderFFmpegFactory::canDecode(QIODevice *i) const pd.buf_size = i->peek((char*)buf, sizeof(buf) - AVPROBE_PADDING_SIZE); pd.buf = buf; if(pd.buf_size < 8192) - return FALSE; + return false; AVInputFormat *fmt = av_probe_input_format(&pd, 1); if(!fmt) { qWarning("DecoderFFmpegFactory: usupported format"); - return FALSE; + return false; } if(filters.contains("*.mp3") && !memcmp(fmt->name, "mp3", 3)) return true; if(filters.contains("*.aac") && !memcmp(fmt->name, "aac", 3)) return true; - return FALSE; + return false; } const DecoderProperties DecoderFFmpegFactory::properties() const @@ -122,7 +122,7 @@ const DecoderProperties DecoderFFmpegFactory::properties() const properties.shortName = "ffmpeg"; properties.hasAbout = true; properties.hasSettings = true; - properties.noInput = FALSE; + properties.noInput = false; return properties; } -- cgit v1.2.3-13-gbd6f