Commit eb8fdde6 authored by Laurent Aimar's avatar Laurent Aimar

* rtsp: mmmh, close the socket.

parent 0927763d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* rtsp.c: Retreive a description from an RTSP url. * rtsp.c: Retreive a description from an RTSP url.
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: rtsp.c,v 1.1 2003/08/03 02:00:00 fenrir Exp $ * $Id: rtsp.c,v 1.2 2003/08/03 12:04:28 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -301,6 +301,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -301,6 +301,7 @@ static int Open( vlc_object_t *p_this )
/* Update default_pts to a suitable value for RTSP access */ /* Update default_pts to a suitable value for RTSP access */
p_input->i_pts_delay = config_GetInt( p_input, "rtsp-caching" ) * 1000; p_input->i_pts_delay = config_GetInt( p_input, "rtsp-caching" ) * 1000;
NetClose( p_input, i_handle );
url_Clean( &url ); url_Clean( &url );
return VLC_SUCCESS; return VLC_SUCCESS;
......
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