From 2530800c7d4d2e27bf5154a4cb2ebb08d6a65209 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 24 Oct 2020 18:09:27 +0530 Subject: [PATCH] mf/evr: Initialize variables which are checked conditionally. Signed-off-by: Biswapriyo Nath --- dlls/mf/evr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mf/evr.c b/dlls/mf/evr.c index 537d859..469c3af 100644 --- a/dlls/mf/evr.c +++ b/dlls/mf/evr.c @@ -2015,8 +2015,8 @@ static const IMFAttributesVtbl video_renderer_attributes_vtbl = static HRESULT evr_create_object(IMFAttributes *attributes, void *user_context, IUnknown **obj) { struct video_renderer *object; - IMFVideoPresenter *presenter; - IMFTransform *mixer; + IMFVideoPresenter *presenter = NULL; + IMFTransform *mixer = NULL; HRESULT hr; TRACE("%p, %p, %p.\n", attributes, user_context, obj); -- 2.29.0