From b18f80596b32127cf910e408a34f61cb34c5c291 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Sat, 8 Dec 2018 15:50:28 +0100 Subject: [PATCH] Some code clean-up using new Lazy operator->(). --- src/Config.h | 4 ++-- src/Decoder_AAC.cpp | 2 +- src/Decoder_MP3.cpp | 4 ++-- src/Encoder_MP3.cpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Config.h b/src/Config.h index 411bfad5..a140bacd 100644 --- a/src/Config.h +++ b/src/Config.h @@ -34,8 +34,8 @@ #define VER_LAMEXP_MINOR_HI 1 #define VER_LAMEXP_MINOR_LO 8 #define VER_LAMEXP_TYPE Alpha -#define VER_LAMEXP_PATCH 2 -#define VER_LAMEXP_BUILD 2196 +#define VER_LAMEXP_PATCH 3 +#define VER_LAMEXP_BUILD 2198 #define VER_LAMEXP_CONFG 2188 /////////////////////////////////////////////////////////////////////////////// diff --git a/src/Decoder_AAC.cpp b/src/Decoder_AAC.cpp index da75d475..0727a612 100644 --- a/src/Decoder_AAC.cpp +++ b/src/Decoder_AAC.cpp @@ -99,7 +99,7 @@ bool AACDecoder::isFormatSupported(const QString &containerType, const QString & if(formatType.compare(QLatin1String("AAC"), Qt::CaseInsensitive) == 0) { QMutexLocker lock(&m_regexMutex); - if ((*m_regxFeatures).indexIn(formatProfile) >= 0) + if (m_regxFeatures->indexIn(formatProfile) >= 0) { if((formatVersion.compare(QLatin1String("2"), Qt::CaseInsensitive) == 0) || (formatVersion.compare(QLatin1String("4"), Qt::CaseInsensitive) == 0) || formatVersion.isEmpty()) { diff --git a/src/Decoder_MP3.cpp b/src/Decoder_MP3.cpp index 4e47525a..5cb30e83 100644 --- a/src/Decoder_MP3.cpp +++ b/src/Decoder_MP3.cpp @@ -110,9 +110,9 @@ bool MP3Decoder::isFormatSupported(const QString &containerType, const QString & if(formatType.compare(mpegAudio, Qt::CaseInsensitive) == 0) { QMutexLocker lock(&m_regexMutex); - if ((*m_regxLayer).indexIn(formatProfile) >= 0) + if (m_regxLayer->indexIn(formatProfile) >= 0) { - return ((*m_regxVersion).indexIn(formatVersion) >= 0); + return (m_regxVersion->indexIn(formatVersion) >= 0); } } } diff --git a/src/Encoder_MP3.cpp b/src/Encoder_MP3.cpp index cfdf6d28..13966982 100644 --- a/src/Encoder_MP3.cpp +++ b/src/Encoder_MP3.cpp @@ -288,9 +288,9 @@ bool MP3Encoder::isFormatSupported(const QString &containerType, const QString & else if (formatType.compare(mpegAudio, Qt::CaseInsensitive) == 0) { QMutexLocker lock(&m_regexMutex); - if ((*m_regxLayer).indexIn(formatProfile) >= 0) + if (m_regxLayer->indexIn(formatProfile) >= 0) { - return ((*m_regxVersion).indexIn(formatVersion) >= 0); + return (m_regxVersion->indexIn(formatVersion) >= 0); } } }