diff options
author | Underground78 <underground78@users.sourceforge.net> | 2015-09-24 22:08:31 +0300 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2015-09-24 22:58:56 +0300 |
commit | b26fcad07d53aa855f5a1fc62960672585b17181 (patch) | |
tree | d8c95ccf87eb1a7686b3507160cacece5b5ef210 | |
parent | 38d8569e699f689d19969851946489e669189c3e (diff) |
Cosmetic: Use IID_PPV_ARGS macro.
-rw-r--r-- | src/mpc-hc/FGFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpc-hc/FGFilter.cpp b/src/mpc-hc/FGFilter.cpp index 46de4918f..d4c2008c8 100644 --- a/src/mpc-hc/FGFilter.cpp +++ b/src/mpc-hc/FGFilter.cpp @@ -482,7 +482,7 @@ HRESULT CFGFilterVideoRenderer::Create(IBaseFilter** ppBF, CInterfaceList<IUnkno if (CComQIPtr<IMFGetService> pMFGS = pBF) {
CComPtr<IMFVideoDisplayControl> pMFVDC;
- if (SUCCEEDED(pMFGS->GetService(MR_VIDEO_RENDER_SERVICE, __uuidof(IMFVideoDisplayControl), (void **)&pMFVDC))) {
+ if (SUCCEEDED(pMFGS->GetService(MR_VIDEO_RENDER_SERVICE, IID_PPV_ARGS(&pMFVDC)))) {
pMFVDC->SetVideoWindow(m_hWnd);
}
}
|