[vlc-devel] [PATCH 03/14] vlm: remove wrong assertion

Romain Vimont rom1v at videolabs.io
Tue Sep 15 19:37:35 CEST 2020


The vlm instance name may be NULL. The documentation (doc/vlm.txt)
states that the "instance_name" parameter is optional.
---
 src/input/vlm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/input/vlm.c b/src/input/vlm.c
index a51d8eef99..da05442d77 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -72,7 +72,6 @@ static void player_on_state_changed(vlc_player_t *player,
             break;
         }
     }
-    assert(psz_instance_name);
     enum vlm_state_e vlm_state;
     switch (new_state)
     {
-- 
2.28.0



More information about the vlc-devel mailing list