diff options
author | jonasno <jonasno@users.sourceforge.net> | 2010-02-19 01:01:33 +0300 |
---|---|---|
committer | jonasno <jonasno@users.sourceforge.net> | 2010-02-19 01:01:33 +0300 |
commit | ca7ad0034eb7760572223a7e120d1be2e35e34d8 (patch) | |
tree | e7d3d3dc8f8a17c9622a5c2e5afc67978699b4d2 /src/filters/transform/DeCSSFilter | |
parent | c37e22cac1d15d150c66b61fba3b79eb3f899b7e (diff) |
Changed C casts to C++ casts and some code formatting corrections
Patch by XhmikosR
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1676 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/DeCSSFilter')
-rw-r--r-- | src/filters/transform/DeCSSFilter/DeCSSFilter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters/transform/DeCSSFilter/DeCSSFilter.cpp b/src/filters/transform/DeCSSFilter/DeCSSFilter.cpp index 5159cb776..e3bd46f23 100644 --- a/src/filters/transform/DeCSSFilter/DeCSSFilter.cpp +++ b/src/filters/transform/DeCSSFilter/DeCSSFilter.cpp @@ -87,19 +87,19 @@ public: // IKsPropertySet
STDMETHODIMP Set(REFGUID PropSet, ULONG Id, LPVOID InstanceData, ULONG InstanceLength, LPVOID PropertyData, ULONG DataLength)
{
- if(CComQIPtr<IKsPropertySet> pKsPS = ((CDeCSSFilter*)m_pFilter)->m_pOutput->GetConnected())
+ if(CComQIPtr<IKsPropertySet> pKsPS = (static_cast<CDeCSSFilter*>(m_pFilter))->m_pOutput->GetConnected())
return pKsPS->Set(PropSet, Id, InstanceData, InstanceLength, PropertyData, DataLength);
return E_NOTIMPL;
}
STDMETHODIMP Get(REFGUID PropSet, ULONG Id, LPVOID InstanceData, ULONG InstanceLength, LPVOID PropertyData, ULONG DataLength, ULONG* pBytesReturned)
{
- if(CComQIPtr<IKsPropertySet> pKsPS = ((CDeCSSFilter*)m_pFilter)->m_pOutput->GetConnected())
+ if(CComQIPtr<IKsPropertySet> pKsPS = (static_cast<CDeCSSFilter*>(m_pFilter))->m_pOutput->GetConnected())
return pKsPS->Get(PropSet, Id, InstanceData, InstanceLength, PropertyData, DataLength, pBytesReturned);
return E_NOTIMPL;
}
STDMETHODIMP QuerySupported(REFGUID PropSet, ULONG Id, ULONG* pTypeSupport)
{
- if(CComQIPtr<IKsPropertySet> pKsPS = ((CDeCSSFilter*)m_pFilter)->m_pOutput->GetConnected())
+ if(CComQIPtr<IKsPropertySet> pKsPS = (static_cast<CDeCSSFilter*>(m_pFilter))->m_pOutput->GetConnected())
return pKsPS->QuerySupported(PropSet, Id, pTypeSupport);
return E_NOTIMPL;
}
|