mfplay: Remove some dead code (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-09-16 11:57:48 +03:00 committed by Alexandre Julliard
parent 5731c38ae1
commit 8eee81b690

View file

@ -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);