Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ae291708
Commit
ae291708
authored
Aug 13, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Fix warnings.
parent
ebbde26e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/input/input.c
src/input/input.c
+5
-5
No files found.
src/input/input.c
View file @
ae291708
...
...
@@ -223,7 +223,7 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
/* Parse input options */
vlc_mutex_lock
(
&
p_item
->
lock
);
assert
(
p_item
->
optflagc
==
p_item
->
i_options
);
assert
(
(
int
)
p_item
->
optflagc
==
p_item
->
i_options
);
for
(
i
=
0
;
i
<
p_item
->
i_options
;
i
++
)
var_OptionParse
(
VLC_OBJECT
(
p_input
),
p_item
->
ppsz_options
[
i
],
!!
(
p_item
->
optflagv
[
i
]
&
VLC_INPUT_OPTION_TRUSTED
)
);
...
...
@@ -2056,6 +2056,7 @@ static void UpdateItemLength( input_thread_t *p_input, int64_t i_length )
*****************************************************************************/
static
input_source_t
*
InputSourceNew
(
input_thread_t
*
p_input
)
{
(
void
)
p_input
;
input_source_t
*
in
=
(
input_source_t
*
)
malloc
(
sizeof
(
input_source_t
)
);
if
(
in
)
memset
(
in
,
0
,
sizeof
(
input_source_t
)
);
...
...
@@ -2704,10 +2705,9 @@ void MRLSplit( char *psz_dup, const char **ppsz_access, const char **ppsz_demux,
{
psz_path
=
psz_dup
;
}
*
ppsz_access
=
psz_access
?
psz_access
:
""
;
*
ppsz_demux
=
psz_demux
?
psz_demux
:
""
;
*
ppsz_path
=
psz_path
?
psz_path
:
""
;
*
ppsz_access
=
psz_access
?
psz_access
:
(
char
*
)
""
;
*
ppsz_demux
=
psz_demux
?
psz_demux
:
(
char
*
)
""
;
*
ppsz_path
=
psz_path
?
psz_path
:
(
char
*
)
""
;
}
/*****************************************************************************
...
...
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