• R/O
  • HTTP
  • SSH
  • HTTPS

LameXP: 提交

LameXP development repository


Commit MetaInfo

修订版b18f80596b32127cf910e408a34f61cb34c5c291 (tree)
时间2018-12-08 23:50:28
作者LoRd_MuldeR <mulder2@gmx....>
CommiterLoRd_MuldeR

Log Message

Some code clean-up using new Lazy<T> operator->().

更改概述

差异

--- a/src/Config.h
+++ b/src/Config.h
@@ -34,8 +34,8 @@
3434 #define VER_LAMEXP_MINOR_HI 1
3535 #define VER_LAMEXP_MINOR_LO 8
3636 #define VER_LAMEXP_TYPE Alpha
37-#define VER_LAMEXP_PATCH 2
38-#define VER_LAMEXP_BUILD 2196
37+#define VER_LAMEXP_PATCH 3
38+#define VER_LAMEXP_BUILD 2198
3939 #define VER_LAMEXP_CONFG 2188
4040
4141 ///////////////////////////////////////////////////////////////////////////////
--- a/src/Decoder_AAC.cpp
+++ b/src/Decoder_AAC.cpp
@@ -99,7 +99,7 @@ bool AACDecoder::isFormatSupported(const QString &containerType, const QString &
9999 if(formatType.compare(QLatin1String("AAC"), Qt::CaseInsensitive) == 0)
100100 {
101101 QMutexLocker lock(&m_regexMutex);
102- if ((*m_regxFeatures).indexIn(formatProfile) >= 0)
102+ if (m_regxFeatures->indexIn(formatProfile) >= 0)
103103 {
104104 if((formatVersion.compare(QLatin1String("2"), Qt::CaseInsensitive) == 0) || (formatVersion.compare(QLatin1String("4"), Qt::CaseInsensitive) == 0) || formatVersion.isEmpty())
105105 {
--- a/src/Decoder_MP3.cpp
+++ b/src/Decoder_MP3.cpp
@@ -110,9 +110,9 @@ bool MP3Decoder::isFormatSupported(const QString &containerType, const QString &
110110 if(formatType.compare(mpegAudio, Qt::CaseInsensitive) == 0)
111111 {
112112 QMutexLocker lock(&m_regexMutex);
113- if ((*m_regxLayer).indexIn(formatProfile) >= 0)
113+ if (m_regxLayer->indexIn(formatProfile) >= 0)
114114 {
115- return ((*m_regxVersion).indexIn(formatVersion) >= 0);
115+ return (m_regxVersion->indexIn(formatVersion) >= 0);
116116 }
117117 }
118118 }
--- a/src/Encoder_MP3.cpp
+++ b/src/Encoder_MP3.cpp
@@ -288,9 +288,9 @@ bool MP3Encoder::isFormatSupported(const QString &containerType, const QString &
288288 else if (formatType.compare(mpegAudio, Qt::CaseInsensitive) == 0)
289289 {
290290 QMutexLocker lock(&m_regexMutex);
291- if ((*m_regxLayer).indexIn(formatProfile) >= 0)
291+ if (m_regxLayer->indexIn(formatProfile) >= 0)
292292 {
293- return ((*m_regxVersion).indexIn(formatVersion) >= 0);
293+ return (m_regxVersion->indexIn(formatVersion) >= 0);
294294 }
295295 }
296296 }
Show on old repository browser