Commit 7929583b authored by Derek Lesho's avatar Derek Lesho Committed by Alexandre Julliard

mfplat: Make functionality of GetMediaTypeHandler more clear.

parent 7b87278d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment