Commit 8eee81b6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfplay: Remove some dead code (Coverity).

parent 5731c38a
......@@ -1884,7 +1884,6 @@ static HRESULT WINAPI media_player_session_events_callback_Invoke(IMFAsyncCallba
IMFMediaEvent *session_event;
MFP_MEDIAPLAYER_STATE state;
HRESULT hr, event_status;
IMFPMediaItem *item = NULL;
IMFTopology *topology;
unsigned int status;
PROPVARIANT value;
......@@ -1964,9 +1963,6 @@ static HRESULT WINAPI media_player_session_events_callback_Invoke(IMFAsyncCallba
;
}
if (item)
IMFPMediaItem_Release(item);
if (event)
{
media_player_queue_event(player, event);
......
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