/* Split uri */
if( !p_input->b_preparsing )
{
- MRLSplit( VLC_OBJECT(p_input), psz_dup,
- &psz_access, &psz_demux, &psz_path );
+ MRLSplit( psz_dup, &psz_access, &psz_demux, &psz_path );
msg_Dbg( p_input, "`%s' gives access `%s' demux `%s' path `%s'",
psz_mrl, psz_access, psz_demux, psz_path );
{
const char *psz_a, *psz_d;
psz_buf = strdup( in->p_access->psz_path );
- MRLSplit( VLC_OBJECT(p_input), psz_buf,
- &psz_a, &psz_d, &psz_real_path );
+ MRLSplit( psz_buf, &psz_a, &psz_d, &psz_real_path );
}
else
{
* MRLSplit: parse the access, demux and url part of the
* Media Resource Locator.
*****************************************************************************/
-void MRLSplit( vlc_object_t *p_input, char *psz_dup,
- const char **ppsz_access, const char **ppsz_demux,
+void MRLSplit( char *psz_dup, const char **ppsz_access, const char **ppsz_demux,
char **ppsz_path )
{
const char *psz_access = "";
char **subtitles_Detect( input_thread_t *, char* path, const char *fname );
int subtitles_Filter( const char *);
-void MRLSplit( vlc_object_t *, char *, const char **, const char **, char ** );
+void MRLSplit( char *, const char **, const char **, char ** );
static inline void input_ChangeState( input_thread_t *p_input, int state )
{
char psz_dup[strlen (psz_url) + 1];
strcpy (psz_dup, psz_url);;
- MRLSplit( p_parent, psz_dup, &psz_access, &psz_demux, &psz_path );
+ MRLSplit( psz_dup, &psz_access, &psz_demux, &psz_path );
/* Now try a real access */
p_access = access2_New( p_parent, psz_access, psz_demux, psz_path, 0 );