diff options
author | OctaneSnail <os@v12pwr.com> | 2008-12-13 14:34:58 +0300 |
---|---|---|
committer | OctaneSnail <os@v12pwr.com> | 2008-12-13 14:36:08 +0300 |
commit | 56593e8a2543de45fd97aed91aa73a29b49a418b (patch) | |
tree | d84ca5accab485fab502d5e2d40ffac090b12797 /RFS.cpp | |
parent | e00c8419f1198f25d0fc113963735a5b581c0905 (diff) |
Fix bad NULL pointer check.
Spotted by OV2.
Diffstat (limited to 'RFS.cpp')
-rw-r--r-- | RFS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -736,7 +736,7 @@ STDMETHODIMP CRARFileSource::Load (LPCOLESTR lpwszFileName, const AM_MEDIA_TYPE // Behaves like IPersistFile::Load STDMETHODIMP CRARFileSource::GetCurFile (LPOLESTR *ppszFileName, AM_MEDIA_TYPE *pmt) { - if (ppszFileName) + if (!ppszFileName) return E_POINTER; if (m_file_name != NULL) |