mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
wineqtdecoder: Unload the AsyncReader on movie processing failure.
This commit is contained in:
parent
56ab12ccef
commit
d0d7c47b65
@ -1138,6 +1138,8 @@ static HRESULT WINAPI QTInPin_ReceiveConnection(IPin *iface, IPin *pReceivePin,
|
||||
hr = QT_Process_Movie(impl_from_IBaseFilter(This->pin.pinInfo.pFilter));
|
||||
if (FAILED(hr))
|
||||
{
|
||||
IAsyncReader_Release(This->pReader);
|
||||
This->pReader = NULL;
|
||||
LeaveCriticalSection(&impl_from_IBaseFilter(This->pin.pinInfo.pFilter)->filter.csFilter);
|
||||
TRACE("Unable to process movie\n");
|
||||
return hr;
|
||||
|
Loading…
Reference in New Issue
Block a user