From 3c4a11c40e1081ef106766ad6e8e1f43b05dc5c2 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Thu, 25 Jun 2009 17:54:16 +0200 Subject: [PATCH] input: assert in InputSourceInit() if there is no MRL to play --- src/input/input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/input.c b/src/input/input.c index 93026e1293..6bbaba8fa1 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -2338,6 +2338,7 @@ static int InputSourceInit( input_thread_t *p_input, char *psz_var_demux = NULL; double f_fps; + assert( psz_mrl ); char *psz_dup = strdup( psz_mrl ); if( psz_dup == NULL ) -- 2.39.2