Build fix.

This commit is contained in:
LoRd_MuldeR 2017-04-22 22:06:21 +02:00
parent 70c3237163
commit c3c5f99fa8

View File

@ -140,9 +140,9 @@ bool MP3Decoder::decode(const QString &sourceFile, const QString &outputFile, QA
bool MP3Decoder::isFormatSupported(const QString &containerType, const QString &containerProfile, const QString &formatType, const QString &formatProfile, const QString &formatVersion) bool MP3Decoder::isFormatSupported(const QString &containerType, const QString &containerProfile, const QString &formatType, const QString &formatProfile, const QString &formatVersion)
{ {
const QLatin1String mpegAudio("MPEG Audio"), waveAudio("Wave"); const QLatin1String mpegAudio("MPEG Audio"), waveAudio("Wave");
if(containerType.compare(mpegAudio, Qt::CaseInsensitive) == 0) || (containerType.compare(waveAudio, Qt::CaseInsensitive) == 0)) if((containerType.compare(mpegAudio, Qt::CaseInsensitive) == 0) || (containerType.compare(waveAudio, Qt::CaseInsensitive) == 0))
{ {
if((formatType.compare(mpegAudio, Qt::CaseInsensitive) == 0) if(formatType.compare(mpegAudio, Qt::CaseInsensitive) == 0)
{ {
QMutexLocker lock(&m_regexMutex); QMutexLocker lock(&m_regexMutex);
if (m_regxLayer.isNull() || m_regxVersion.isNull()) if (m_regxLayer.isNull() || m_regxVersion.isNull())