[vlc-commits] vlm: remove wrong assertion
Romain Vimont
git at videolan.org
Tue Apr 6 13:29:56 UTC 2021
vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Tue Sep 15 19:37:35 2020 +0200| [a552809dcecf4ad260f892ec3603414698ad8e30] | committer: Alexandre Janniaux
vlm: remove wrong assertion
The vlm instance name may be NULL. The documentation (doc/vlm.txt)
states that the "instance_name" parameter is optional.
Fixes #23211
Signed-off-by: Alexandre Janniaux <ajanni at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a552809dcecf4ad260f892ec3603414698ad8e30
---
src/input/vlm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/input/vlm.c b/src/input/vlm.c
index 116fc5296e..90534af775 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)
{
More information about the vlc-commits
mailing list