diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-26 17:58:33 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-06-23 17:27:42 +0400 |
commit | 4b55c5fad5ef93099d5f11f2b9319d9837e843c9 (patch) | |
tree | d0b1f19a0efce788f31ed1fb721ea6612fad4253 /src/filters/renderer/VideoRenderers/SyncRenderer.cpp | |
parent | 336d3dd2cc7bf2c4d790bc7237315652f4ca065d (diff) |
Fix the C4701 warnings: Potentially uninitialized local variable "XXX" used.
Diffstat (limited to 'src/filters/renderer/VideoRenderers/SyncRenderer.cpp')
-rw-r--r-- | src/filters/renderer/VideoRenderers/SyncRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/renderer/VideoRenderers/SyncRenderer.cpp b/src/filters/renderer/VideoRenderers/SyncRenderer.cpp index fc2f5f7a2..becb2b37c 100644 --- a/src/filters/renderer/VideoRenderers/SyncRenderer.cpp +++ b/src/filters/renderer/VideoRenderers/SyncRenderer.cpp @@ -680,12 +680,12 @@ HRESULT CBaseAP::ResetDXDevice(CString& _Error) std::vector<CComPtr<IPin>> decoderOutput;
std::vector<CComPtr<IPin>> rendererInput;
FILTER_INFO filterInfo;
+ ZeroMemory(&filterInfo, sizeof(filterInfo));
bool disconnected = FALSE;
// Disconnect all pins to release video memory resources
if (m_pD3DDev) {
- ZeroMemory(&filterInfo, sizeof(filterInfo));
m_pOuterEVR->QueryFilterInfo(&filterInfo); // This addref's the pGraph member
if (SUCCEEDED(m_pOuterEVR->EnumPins(&rendererInputEnum))) {
CComPtr<IPin> input;
|