From 2a4e61ddc4cd272a487a2665b907071ada7ce31a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 24 Sep 2013 04:58:39 +0000 Subject: flac plugin: fixed replaygain support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3720 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/flac/replaygainreader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/plugins/Input/flac/replaygainreader.cpp b/src/plugins/Input/flac/replaygainreader.cpp index 20adba1d5..f8e5c9469 100644 --- a/src/plugins/Input/flac/replaygainreader.cpp +++ b/src/plugins/Input/flac/replaygainreader.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2012 by Ilya Kotov * + * Copyright (C) 2009-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -27,13 +27,13 @@ ReplayGainReader::ReplayGainReader(const QString &path) { - if(path.endsWith("*.flac")) + if(path.endsWith(".flac")) { TagLib::FLAC::File fileRef(path.toLocal8Bit ().constData()); if(fileRef.xiphComment()) readVorbisComment(fileRef.xiphComment()); } - else if(path.endsWith("*.oga")) + else if(path.endsWith(".oga")) { TagLib::Ogg::FLAC::File fileRef(path.toLocal8Bit ().constData()); if(fileRef.tag()) -- cgit v1.2.3-13-gbd6f