Commit 08bf5877 authored by Pierre Ynard's avatar Pierre Ynard

rtp out: fix spurious error message

parent 55ef5862
...@@ -717,7 +717,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, const char *psz_url ) ...@@ -717,7 +717,7 @@ static void SDPHandleUrl( sout_stream_t *p_stream, const char *psz_url )
goto out; goto out;
} }
if( url.psz_host != NULL ) if( url.psz_host != NULL && *url.psz_host )
{ {
msg_Err( p_stream, "\"%s\" RTSP host ignored", url.psz_host ); msg_Err( p_stream, "\"%s\" RTSP host ignored", url.psz_host );
msg_Info( p_stream, "Pass --rtsp-host=%s on the command line " msg_Info( p_stream, "Pass --rtsp-host=%s on the command line "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment