mfplat: Make functionality of GetMediaTypeHandler more clear.

Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Derek Lesho 2020-02-04 11:17:13 -06:00 committed by Alexandre Julliard
parent 7b87278dcf
commit 7929583bb6
1 changed files with 1 additions and 1 deletions

View File

@ -967,7 +967,7 @@ static HRESULT WINAPI stream_descriptor_GetMediaTypeHandler(IMFStreamDescriptor
TRACE("%p, %p.\n", iface, handler);
*handler = &stream_desc->IMFMediaTypeHandler_iface;
IMFStreamDescriptor_AddRef(iface);
IMFMediaTypeHandler_AddRef(*handler);
return S_OK;
}