Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2014-10-10 13:53:06 +0400
committerXhmikosR <xhmikosr@gmail.com>2014-10-20 09:04:48 +0400
commit2a0054b97cfa1e434e83016b6c1d5a2fb555956f (patch)
tree859a3287533516c4ddde6e072653f928721adac7 /src/filters/muxer
parent4d265207e31cafb97a7c3953cf83db5f669cf9f2 (diff)
Initializer list order fixes.
Found with cppcheck (inconclusive enabled).
Diffstat (limited to 'src/filters/muxer')
-rw-r--r--src/filters/muxer/BaseMuxer/BaseMuxerInputPin.cpp8
-rw-r--r--src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp4
-rw-r--r--src/filters/muxer/WavDest/WavDest.cpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/filters/muxer/BaseMuxer/BaseMuxerInputPin.cpp b/src/filters/muxer/BaseMuxer/BaseMuxerInputPin.cpp
index 616dce32e..8cb244c52 100644
--- a/src/filters/muxer/BaseMuxer/BaseMuxerInputPin.cpp
+++ b/src/filters/muxer/BaseMuxer/BaseMuxerInputPin.cpp
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2013 see Authors.txt
+ * (C) 2006-2014 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -35,11 +35,11 @@
CBaseMuxerInputPin::CBaseMuxerInputPin(LPCWSTR pName, CBaseFilter* pFilter, CCritSec* pLock, HRESULT* phr)
: CBaseInputPin(NAME("CBaseMuxerInputPin"), pFilter, pLock, phr, pName)
+ , m_rtMaxStart(_I64_MIN)
, m_rtDuration(0)
- , m_evAcceptPacket(TRUE)
- , m_iPacketIndex(0)
, m_fEOS(false)
- , m_rtMaxStart(_I64_MIN)
+ , m_iPacketIndex(0)
+ , m_evAcceptPacket(TRUE)
{
static int s_iID = 0;
m_iID = s_iID++;
diff --git a/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp b/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp
index 58ffdaf19..a2b5bc8e8 100644
--- a/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp
+++ b/src/filters/muxer/MatroskaMuxer/MatroskaMuxer.cpp
@@ -718,10 +718,10 @@ DWORD CMatroskaMuxerFilter::ThreadProc()
CMatroskaMuxerInputPin::CMatroskaMuxerInputPin(LPCWSTR pName, CBaseFilter* pFilter, CCritSec* pLock, HRESULT* phr)
: CBaseInputPin(NAME("CMatroskaMuxerInputPin"), pFilter, pLock, phr, pName)
, m_fActive(false)
- , m_fEndOfStreamReceived(false)
- , m_rtDur(0)
, m_rtLastStart(0)
, m_rtLastStop(0)
+ , m_rtDur(0)
+ , m_fEndOfStreamReceived(false)
{
}
diff --git a/src/filters/muxer/WavDest/WavDest.cpp b/src/filters/muxer/WavDest/WavDest.cpp
index 1c8f29a2f..181b5cd47 100644
--- a/src/filters/muxer/WavDest/WavDest.cpp
+++ b/src/filters/muxer/WavDest/WavDest.cpp
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2013 see Authors.txt
+ * (C) 2006-2014 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -72,8 +72,8 @@ CFilterApp theApp;
CWavDestFilter::CWavDestFilter(LPUNKNOWN pUnk, HRESULT* phr)
: CTransformFilter(NAME("WavDest filter"), pUnk, __uuidof(this))
- , m_cbHeader(0)
, m_cbWavData(0)
+ , m_cbHeader(0)
{
if (CWavDestOutputPin* pOut = DEBUG_NEW CWavDestOutputPin(this, phr)) {
if (SUCCEEDED(*phr)) {