mf/evr: Initialize variables which are checked conditionally.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2020-10-24 18:09:27 +05:30 committed by Alexandre Julliard
parent edd00eb538
commit 8c51bcb8a1
1 changed files with 2 additions and 2 deletions

View File

@ -2057,8 +2057,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);