Commit 344f75bc authored by Rafaël Carré's avatar Rafaël Carré
Browse files

MRLSplit(): removes unused parameter

parent 04c8bb5d
...@@ -2181,8 +2181,7 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -2181,8 +2181,7 @@ static int InputSourceInit( input_thread_t *p_input,
/* Split uri */ /* Split uri */
if( !p_input->b_preparsing ) if( !p_input->b_preparsing )
{ {
MRLSplit( VLC_OBJECT(p_input), psz_dup, MRLSplit( psz_dup, &psz_access, &psz_demux, &psz_path );
&psz_access, &psz_demux, &psz_path );
msg_Dbg( p_input, "`%s' gives access `%s' demux `%s' path `%s'", msg_Dbg( p_input, "`%s' gives access `%s' demux `%s' path `%s'",
psz_mrl, psz_access, psz_demux, psz_path ); psz_mrl, psz_access, psz_demux, psz_path );
...@@ -2398,8 +2397,7 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -2398,8 +2397,7 @@ static int InputSourceInit( input_thread_t *p_input,
{ {
const char *psz_a, *psz_d; const char *psz_a, *psz_d;
psz_buf = strdup( in->p_access->psz_path ); psz_buf = strdup( in->p_access->psz_path );
MRLSplit( VLC_OBJECT(p_input), psz_buf, MRLSplit( psz_buf, &psz_a, &psz_d, &psz_real_path );
&psz_a, &psz_d, &psz_real_path );
} }
else else
{ {
...@@ -2790,8 +2788,7 @@ static void DemuxMeta( input_thread_t *p_input, vlc_meta_t *p_meta, demux_t *p_d ...@@ -2790,8 +2788,7 @@ static void DemuxMeta( input_thread_t *p_input, vlc_meta_t *p_meta, demux_t *p_d
* MRLSplit: parse the access, demux and url part of the * MRLSplit: parse the access, demux and url part of the
* Media Resource Locator. * Media Resource Locator.
*****************************************************************************/ *****************************************************************************/
void MRLSplit( vlc_object_t *p_input, char *psz_dup, void MRLSplit( char *psz_dup, const char **ppsz_access, const char **ppsz_demux,
const char **ppsz_access, const char **ppsz_demux,
char **ppsz_path ) char **ppsz_path )
{ {
const char *psz_access = ""; const char *psz_access = "";
......
...@@ -413,7 +413,7 @@ void input_ClockSetRate( input_thread_t *, input_clock_t *cl, int i_rate ); ...@@ -413,7 +413,7 @@ void input_ClockSetRate( input_thread_t *, input_clock_t *cl, int i_rate );
char **subtitles_Detect( input_thread_t *, char* path, const char *fname ); char **subtitles_Detect( input_thread_t *, char* path, const char *fname );
int subtitles_Filter( const char *); 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 ) static inline void input_ChangeState( input_thread_t *p_input, int state )
{ {
......
...@@ -203,7 +203,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url ) ...@@ -203,7 +203,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url )
char psz_dup[strlen (psz_url) + 1]; char psz_dup[strlen (psz_url) + 1];
strcpy (psz_dup, psz_url);; 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 */ /* Now try a real access */
p_access = access2_New( p_parent, psz_access, psz_demux, psz_path, 0 ); p_access = access2_New( p_parent, psz_access, psz_demux, psz_path, 0 );
......
Supports Markdown
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