Commit ff9a6e69 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfreadwrite: Shut down source on reader destruction.

parent 13e78871
......@@ -214,6 +214,7 @@ static ULONG WINAPI src_reader_Release(IMFSourceReader *iface)
if (!refcount)
{
IMFMediaSource_Shutdown(reader->source);
if (reader->descriptor)
IMFPresentationDescriptor_Release(reader->descriptor);
IMFMediaSource_Release(reader->source);
......
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