diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-12 19:43:21 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-12 19:43:21 +0400 |
commit | bf1323061db754a0fbdd9efd9d652f3fa89d4fab (patch) | |
tree | f506080bf18a6ca199962ba33868a5f3776d1e91 /src/filters/transform | |
parent | 5e40c94c64e74c708be74f5898fe221a0b9aebe2 (diff) |
VSFilter/DirectVobSubFilter.cpp: fix wrong check, LookupSubPic returns a boolean (warning C6215 found with /analyze)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5104 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform')
-rw-r--r-- | src/filters/transform/VSFilter/DirectVobSubFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/transform/VSFilter/DirectVobSubFilter.cpp b/src/filters/transform/VSFilter/DirectVobSubFilter.cpp index 67b7aee8e..e70ade97b 100644 --- a/src/filters/transform/VSFilter/DirectVobSubFilter.cpp +++ b/src/filters/transform/VSFilter/DirectVobSubFilter.cpp @@ -283,7 +283,7 @@ HRESULT CDirectVobSubFilter::Transform(IMediaSample* pIn) if (m_pSubPicQueue) {
CComPtr<ISubPic> pSubPic;
- if (SUCCEEDED(m_pSubPicQueue->LookupSubPic(CalcCurrentTime(), pSubPic)) && pSubPic) {
+ if ((m_pSubPicQueue->LookupSubPic(CalcCurrentTime(), pSubPic)) && pSubPic) {
CRect r;
pSubPic->GetDirtyRect(r);
|