]> git.sesse.net Git - vlc/commitdiff
Remove old unused code
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Sep 2007 19:34:41 +0000 (19:34 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Sep 2007 19:34:41 +0000 (19:34 +0000)
modules/stream_out/rtsp.c

index 7ee996f2b6f1f9aa40d0146cf9cd5bfbfe83a383..8044aa94a8aa1288ae3c4615e2b56071aa3bf734 100644 (file)
@@ -84,16 +84,6 @@ rtsp_stream_t *RtspSetup( sout_stream_t *p_stream, const vlc_url_t *url )
     else
         rtsp->psz_path = NULL;
 
-#if 0
-    if( asprintf( &rtsp->psz_control, "rtsp://%s:%d%s",
-                  url->psz_host,  url->i_port > 0 ? url->i_port : 554,
-                  rtsp->psz_path ) == -1 )
-    {
-        rtsp->psz_control = NULL;
-        goto error;
-    }
-#endif
-
     rtsp->host = httpd_HostNew( VLC_OBJECT(p_stream), url->psz_host,
                                 rtsp->port );
     if( rtsp->host == NULL )