diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-27 13:08:33 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-27 13:08:33 +0400 |
commit | f829a8f5b1237ea931aa4eb1965110084a990149 (patch) | |
tree | f46ac1ecf4fb8983eecf768ef2e580154fc21c6e /src/filters/transform | |
parent | a12d0819f8acd45a99431577831a3aa5f81284b2 (diff) |
use a space after if, for, while
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4907 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform')
5 files changed, 10 insertions, 10 deletions
diff --git a/src/filters/transform/BufferFilter/BufferFilter.cpp b/src/filters/transform/BufferFilter/BufferFilter.cpp index db94ed476..ec2526e5b 100644 --- a/src/filters/transform/BufferFilter/BufferFilter.cpp +++ b/src/filters/transform/BufferFilter/BufferFilter.cpp @@ -352,7 +352,7 @@ HRESULT CBufferFilterOutputPin::Deliver(IMediaSample* pMediaSample) }
#define CallQueue(call) \
- if(!m_pOutputQueue) return NOERROR; \
+ if (!m_pOutputQueue) return NOERROR; \
m_pOutputQueue->##call; \
return NOERROR; \
diff --git a/src/filters/transform/MPCVideoDec/CpuId.cpp b/src/filters/transform/MPCVideoDec/CpuId.cpp index 90ace59de..7f58bd94b 100644 --- a/src/filters/transform/MPCVideoDec/CpuId.cpp +++ b/src/filters/transform/MPCVideoDec/CpuId.cpp @@ -108,7 +108,7 @@ CCpuId::CCpuId(void) //if (nBuff[2] & CPUID_EST) strcat(szFeatures, "EST ");
}
- //if(nBuff[3] & CPUID_HTT)
+ //if (nBuff[3] & CPUID_HTT)
// strcat(szFeatures, "HTT ");
}
diff --git a/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp b/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp index 6eee0f2fd..449424798 100644 --- a/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp +++ b/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp @@ -1426,7 +1426,7 @@ static void decodeps2adpcm(ps2_state_t& s, int channel, BYTE* pin, double* pout) ASSERT(0);
return;
}
- // if(unk == 7) {ASSERT(0); return;} // ???
+ // if (unk == 7) {ASSERT(0); return;} // ???
static double s_tbl[] = {
0.0, 0.0, 0.9375, 0.0, 1.796875, -0.8125, 1.53125, -0.859375, 1.90625, -0.9375,
diff --git a/src/filters/transform/Mpeg2DecFilter/Mpeg2DecFilter.cpp b/src/filters/transform/Mpeg2DecFilter/Mpeg2DecFilter.cpp index 42d7f5076..974463017 100644 --- a/src/filters/transform/Mpeg2DecFilter/Mpeg2DecFilter.cpp +++ b/src/filters/transform/Mpeg2DecFilter/Mpeg2DecFilter.cpp @@ -204,8 +204,8 @@ CMpeg2DecFilter::CMpeg2DecFilter(LPUNKNOWN lpunk, HRESULT* phr) }
// m_pOutput = DNew CMpeg2DecOutputPin(this, phr, L"Output");
- // if(!m_pOutput) *phr = E_OUTOFMEMORY;
- // if(FAILED(*phr)) return;
+ // if (!m_pOutput) *phr = E_OUTOFMEMORY;
+ // if (FAILED(*phr)) return;
m_pSubpicInput = DNew CSubpicInputPin(this, phr);
if (!m_pSubpicInput) {
@@ -1371,7 +1371,7 @@ STDMETHODIMP CMpeg2DecInputPin::Set(REFGUID PropSet, ULONG Id, LPVOID pInstanceD return E_PROP_ID_UNSUPPORTED;
}
/*
- if(PropSet == AM_KSPROPSETID_DVD_RateChange)
+ if (PropSet == AM_KSPROPSETID_DVD_RateChange)
switch(Id)
{
case AM_RATE_ChangeRate:
@@ -1423,7 +1423,7 @@ STDMETHODIMP CMpeg2DecInputPin::Get(REFGUID PropSet, ULONG Id, LPVOID pInstanceD return E_PROP_ID_UNSUPPORTED;
}
/*
- if(PropSet == AM_KSPROPSETID_DVD_RateChange)
+ if (PropSet == AM_KSPROPSETID_DVD_RateChange)
switch(Id)
{
case AM_RATE_FullDataRateMax:
@@ -1483,7 +1483,7 @@ STDMETHODIMP CMpeg2DecInputPin::QuerySupported(REFGUID PropSet, ULONG Id, ULONG* return E_PROP_ID_UNSUPPORTED;
}
/*
- if(PropSet == AM_KSPROPSETID_DVD_RateChange)
+ if (PropSet == AM_KSPROPSETID_DVD_RateChange)
switch(Id)
{
case AM_RATE_ChangeRate:
@@ -1557,7 +1557,7 @@ HRESULT CMpeg2DecOutputPin::Deliver(IMediaSample* pMediaSample) }
#define CallQueue(call) \
- if(!m_pOutputQueue) return NOERROR; \
+ if (!m_pOutputQueue) return NOERROR; \
m_pOutputQueue->##call; \
return NOERROR; \
diff --git a/src/filters/transform/VSFilter/plugins.cpp b/src/filters/transform/VSFilter/plugins.cpp index 2cc49ced7..ca2464c80 100644 --- a/src/filters/transform/VSFilter/plugins.cpp +++ b/src/filters/transform/VSFilter/plugins.cpp @@ -151,7 +151,7 @@ namespace Plugin handles.Add(h);
}
}
- } else { // if(WAIT_ABANDONED_0 == i || WAIT_FAILED == i)
+ } else { // if (WAIT_ABANDONED_0 == i || WAIT_FAILED == i)
break;
}
}
|