diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-10 18:46:04 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-05-10 22:31:53 +0400 |
commit | b45f3796b0143e35a8ab7e3242bd05a8913e89a8 (patch) | |
tree | 116b8099582bde968e8635619301fc39db245ba6 /src/filters/parser/MpegSplitter | |
parent | 6dc7f3e6e8542e426495cd9c83f6e53ccf0a3e76 (diff) |
Use IsEmpty() instead of GetCount() when possible.
Diffstat (limited to 'src/filters/parser/MpegSplitter')
-rw-r--r-- | src/filters/parser/MpegSplitter/MpegSplitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/parser/MpegSplitter/MpegSplitter.cpp b/src/filters/parser/MpegSplitter/MpegSplitter.cpp index 22307a11b..332b234bc 100644 --- a/src/filters/parser/MpegSplitter/MpegSplitter.cpp +++ b/src/filters/parser/MpegSplitter/MpegSplitter.cpp @@ -1004,7 +1004,7 @@ HRESULT CMpegSplitterFilter::CreateOutputs(IAsyncReader* pAsyncReader) m_rtNewStop = m_rtStop = m_rtDuration = 10000000i64 * m_pFile->GetLength() / m_pFile->m_rate;
}
- return m_pOutputs.GetCount() > 0 ? S_OK : E_FAIL;
+ return !m_pOutputs.IsEmpty() ? S_OK : E_FAIL;
}
bool CMpegSplitterFilter::DemuxInit()
|