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:
Diffstat (limited to 'src/filters/renderer/VideoRenderers/QT7AllocatorPresenter.cpp')
-rw-r--r--src/filters/renderer/VideoRenderers/QT7AllocatorPresenter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filters/renderer/VideoRenderers/QT7AllocatorPresenter.cpp b/src/filters/renderer/VideoRenderers/QT7AllocatorPresenter.cpp
index 612ef7e11..fe149a963 100644
--- a/src/filters/renderer/VideoRenderers/QT7AllocatorPresenter.cpp
+++ b/src/filters/renderer/VideoRenderers/QT7AllocatorPresenter.cpp
@@ -46,6 +46,8 @@ HRESULT CQT7AllocatorPresenter::AllocSurfaces()
{
CAutoLock cAutoLock(this);
+ CheckPointer(m_pDD, E_POINTER);
+
m_pVideoSurfaceOff = nullptr;
DDSURFACEDESC2 ddsd;