Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
344f75bc
Commit
344f75bc
authored
Jan 29, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MRLSplit(): removes unused parameter
parent
04c8bb5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
src/input/input.c
src/input/input.c
+3
-6
src/input/input_internal.h
src/input/input_internal.h
+1
-1
src/input/stream.c
src/input/stream.c
+1
-1
No files found.
src/input/input.c
View file @
344f75bc
...
...
@@ -2181,8 +2181,7 @@ static int InputSourceInit( input_thread_t *p_input,
/* 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
);
...
...
@@ -2398,8 +2397,7 @@ static int InputSourceInit( input_thread_t *p_input,
{
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
{
...
...
@@ -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
* 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
=
""
;
...
...
src/input/input_internal.h
View file @
344f75bc
...
...
@@ -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
);
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
)
{
...
...
src/input/stream.c
View file @
344f75bc
...
...
@@ -203,7 +203,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url )
char
psz_dup
[
strlen
(
psz_url
)
+
1
];
strcpy
(
psz_dup
,
psz_url
);;
MRLSplit
(
p
_parent
,
p
sz_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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment