[vlc-commits] media_list_player: fix invalid assert

Thomas Guillem git at videolan.org
Tue Mar 26 10:27:03 CET 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 26 10:26:23 2019 +0100| [61ee1b1dab119ec31b33c022f445225a393248cb] | committer: Thomas Guillem

media_list_player: fix invalid assert

mplayer_em can be called without lock (before thread creation).

Fixes #21985

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=61ee1b1dab119ec31b33c022f445225a393248cb
---

 lib/media_list_player.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/media_list_player.c b/lib/media_list_player.c
index 0b147d8f36..0131f4e99e 100644
--- a/lib/media_list_player.c
+++ b/lib/media_list_player.c
@@ -119,7 +119,6 @@ static inline libvlc_event_manager_t * mlist_em(libvlc_media_list_player_t * p_m
 
 static inline libvlc_event_manager_t * mplayer_em(libvlc_media_list_player_t * p_mlp)
 {
-    assert_locked(p_mlp);
     return libvlc_media_player_event_manager(p_mlp->p_mi);
 }
 



More information about the vlc-commits mailing list