From 0e6810122362a686b4bcd0eae236c85f47ea8a12 Mon Sep 17 00:00:00 2001 From: yuyoyuppe Date: Tue, 13 Apr 2021 21:30:25 +0300 Subject: [PATCH] [VCM] remove redundant null check --- .../VideoConferenceProxyFilter/VideoCaptureProxyFilter.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/videoconference/VideoConferenceProxyFilter/VideoCaptureProxyFilter.cpp b/src/modules/videoconference/VideoConferenceProxyFilter/VideoCaptureProxyFilter.cpp index 1c48b35ef9..7a132dd32b 100644 --- a/src/modules/videoconference/VideoConferenceProxyFilter/VideoCaptureProxyFilter.cpp +++ b/src/modules/videoconference/VideoConferenceProxyFilter/VideoCaptureProxyFilter.cpp @@ -338,12 +338,6 @@ HRESULT VideoCaptureProxyPin::Get( *pcbReturned = sizeof(GUID); } - if (!pPropData) - { - LOG("VideoCaptureProxyPin::Get SUCCEESS !pPropData"); - return S_OK; - } - if (cbPropData < sizeof(GUID)) { LOG("VideoCaptureProxyPin::Get FAILED cbPropData");