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:
parent
5731c38ae1
commit
8eee81b690
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue