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/VMR9AllocatorPresenter.cpp')
-rw-r--r--src/filters/renderer/VideoRenderers/VMR9AllocatorPresenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/renderer/VideoRenderers/VMR9AllocatorPresenter.cpp b/src/filters/renderer/VideoRenderers/VMR9AllocatorPresenter.cpp
index 5deca105a..0d0c6a75a 100644
--- a/src/filters/renderer/VideoRenderers/VMR9AllocatorPresenter.cpp
+++ b/src/filters/renderer/VideoRenderers/VMR9AllocatorPresenter.cpp
@@ -434,7 +434,7 @@ STDMETHODIMP CVMR9AllocatorPresenter::PresentImage(DWORD_PTR dwUserID, VMR9Prese
if (!m_bPendingResetDevice) {
CComPtr<IDirect3DTexture9> pTexture;
- lpPresInfo->lpSurf->GetContainer(IID_IDirect3DTexture9, (void**)&pTexture);
+ lpPresInfo->lpSurf->GetContainer(IID_PPV_ARGS(&pTexture));
if (pTexture) {
m_pVideoSurface[m_nCurSurface] = lpPresInfo->lpSurf;