# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_sout.h>
#include <vlc_httpd.h>
free( rtsp->psz_path );
vlc_mutex_destroy( &rtsp->lock );
+
+ free( rtsp );
}
{
/* FIXME: we really need to limit the number of tracks... */
char info[ses->trackc * ( strlen( control )
- + sizeof("/trackID=123;seq=65535, ") ) + 1];
+ + sizeof("url=/trackID=123;seq=65535, ") ) + 1];
size_t infolen = 0;
for( int i = 0; i < ses->trackc; i++ )
rtp_add_sink( tr->id, tr->fd, false );
}
infolen += sprintf( info + infolen,
- "%s/trackID=%u;seq=%u, ", control,
+ "url=%s/trackID=%u;seq=%u, ",
+ control,
rtp_get_num( tr->id ),
rtp_get_seq( tr->id ) );
}