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@users.sourceforge.net>2012-07-21 18:27:33 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-07-21 18:27:33 +0400
commit287da83923dc89d3e530f0f774622c77b104ff32 (patch)
tree068c6eeb6174072c2970b139d1e38a99ab2edb9d /src/filters/parser/BaseSplitter/BaseSplitter.cpp
parent43335a3630fc71331466b2a9d6c62ef02a522c50 (diff)
put back the ";" in macro calls; better be consistent. Remove excessive indentation
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5585 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/BaseSplitter/BaseSplitter.cpp')
-rw-r--r--src/filters/parser/BaseSplitter/BaseSplitter.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/filters/parser/BaseSplitter/BaseSplitter.cpp b/src/filters/parser/BaseSplitter/BaseSplitter.cpp
index dc3d3e88a..b8b429c69 100644
--- a/src/filters/parser/BaseSplitter/BaseSplitter.cpp
+++ b/src/filters/parser/BaseSplitter/BaseSplitter.cpp
@@ -415,12 +415,12 @@ HRESULT CBaseSplitterOutputPin::QueuePacket(CAutoPtr<Packet> p)
bool CBaseSplitterOutputPin::IsDiscontinuous()
{
- return m_mt.majortype == MEDIATYPE_Text
- || m_mt.majortype == MEDIATYPE_ScriptCommand
- || m_mt.majortype == MEDIATYPE_Subtitle
- || m_mt.subtype == MEDIASUBTYPE_DVD_SUBPICTURE
- || m_mt.subtype == MEDIASUBTYPE_CVD_SUBPICTURE
- || m_mt.subtype == MEDIASUBTYPE_SVCD_SUBPICTURE;
+ return m_mt.majortype == MEDIATYPE_Text
+ || m_mt.majortype == MEDIATYPE_ScriptCommand
+ || m_mt.majortype == MEDIATYPE_Subtitle
+ || m_mt.subtype == MEDIASUBTYPE_DVD_SUBPICTURE
+ || m_mt.subtype == MEDIASUBTYPE_CVD_SUBPICTURE
+ || m_mt.subtype == MEDIASUBTYPE_SVCD_SUBPICTURE;
}
bool CBaseSplitterOutputPin::IsActive()
@@ -1254,10 +1254,10 @@ STDMETHODIMP CBaseSplitterFilter::Load(LPCOLESTR pszFileName, const AM_MEDIA_TYP
}
if (BuildChapters(pszFileName, Items, Chapters)) {
- POSITION pos = Chapters.GetHeadPosition();
- int i = 1;
+ POSITION pos = Chapters.GetHeadPosition();
+ int i = 1;
while (pos) {
- CString str;
+ CString str;
CHdmvClipInfo::PlaylistChapter& chap = Chapters.GetNext(pos);
if (chap.m_nMarkType == CHdmvClipInfo::EntryMark) {
str.Format(_T("Chapter %d"), i);