diff --git a/modules/misc/rtsp.c b/modules/misc/rtsp.c index 769cd2a162e19252de473f49d327d37bd930000f..86ded270578f86c68a51b05ba11551161884bd16 100644 --- a/modules/misc/rtsp.c +++ b/modules/misc/rtsp.c @@ -215,7 +215,7 @@ static int Open( vlc_object_t *p_this ) goto error; } - p_sys->psz_host = strdup( url.psz_host ); + p_sys->psz_host = strdup( url.psz_host ? url.psz_host : "0.0.0.0" ); p_sys->psz_path = strdup( url.psz_path ? url.psz_path : "/" ); p_sys->i_port = url.i_port;