diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-03-19 18:48:57 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-03-22 02:08:51 +0400 |
commit | 7ed870adc4c50792547996dc4aee65f457ba6e43 (patch) | |
tree | a977544f6c0ad771085d5c99b0de74ce66dd52c6 /src/filters | |
parent | 599c7803e026a6e75dda0bccce8acd6f8d1979d3 (diff) |
cosmetics
Diffstat (limited to 'src/filters')
-rw-r--r-- | src/filters/parser/BaseSplitter/BaseSplitter.cpp | 5 | ||||
-rw-r--r-- | src/filters/parser/MatroskaSplitter/MatroskaFile.cpp | 8 | ||||
-rw-r--r-- | src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp | 2 |
3 files changed, 6 insertions, 9 deletions
diff --git a/src/filters/parser/BaseSplitter/BaseSplitter.cpp b/src/filters/parser/BaseSplitter/BaseSplitter.cpp index 19b9eb7a6..e2b298fed 100644 --- a/src/filters/parser/BaseSplitter/BaseSplitter.cpp +++ b/src/filters/parser/BaseSplitter/BaseSplitter.cpp @@ -1414,9 +1414,8 @@ HRESULT CBaseSplitterFilter::SetPositionsInternal(void* id, LONGLONG* pCurrent, return S_OK;
}
- REFERENCE_TIME
- rtCurrent = m_rtCurrent,
- rtStop = m_rtStop;
+ REFERENCE_TIME rtCurrent = m_rtCurrent;
+ REFERENCE_TIME rtStop = m_rtStop;
if (pCurrent)
switch (dwCurrentFlags & AM_SEEKING_PositioningBitsMask) {
diff --git a/src/filters/parser/MatroskaSplitter/MatroskaFile.cpp b/src/filters/parser/MatroskaSplitter/MatroskaFile.cpp index a18aad4f9..025069fb5 100644 --- a/src/filters/parser/MatroskaSplitter/MatroskaFile.cpp +++ b/src/filters/parser/MatroskaSplitter/MatroskaFile.cpp @@ -1,6 +1,6 @@ /*
* (C) 2003-2006 Gabest
- * (C) 2006-2012 see Authors.txt
+ * (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -37,10 +37,8 @@ using namespace MatroskaReader; \
if (!pMN) \
return S_FALSE; \
- do \
- { \
- switch (pMN->m_id) \
- {
+ do { \
+ switch (pMN->m_id) {
#define EndChunk \
diff --git a/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp b/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp index 8870d4466..5e24f8dbc 100644 --- a/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp +++ b/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp @@ -1112,7 +1112,7 @@ HRESULT CMPCVideoDecFilter::SetMediaType(PIN_DIRECTION direction, const CMediaTy }
m_pFrame = avcodec_alloc_frame();
- CheckPointer(m_pFrame, E_POINTER);
+ CheckPointer(m_pFrame, E_POINTER);
m_h264RandomAccess.flush(m_pAVCtx->thread_count);
|