Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1b9c93e8
Commit
1b9c93e8
authored
Mar 17, 2008
by
Rémi Denis-Courmont
Browse files
Pass trust flag to var_OptionParse
parent
5bfaf660
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
1b9c93e8
...
...
@@ -202,8 +202,10 @@ 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
);
for
(
i
=
0
;
i
<
p_item
->
i_options
;
i
++
)
var_OptionParse
(
VLC_OBJECT
(
p_input
),
p_item
->
ppsz_options
[
i
],
true
);
var_OptionParse
(
VLC_OBJECT
(
p_input
),
p_item
->
ppsz_options
[
i
],
!!
(
p_item
->
optflagv
[
i
]
&
VLC_INPUT_OPTION_TRUSTED
)
);
vlc_mutex_unlock
(
&
p_item
->
lock
);
/* Create Object Variables for private use only */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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