Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
15e4046f
Commit
15e4046f
authored
Jan 24, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...and consistent semantics
parent
262c049b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/config/chain.c
src/config/chain.c
+1
-1
src/misc/variables.c
src/misc/variables.c
+1
-1
No files found.
src/config/chain.c
View file @
15e4046f
...
@@ -320,7 +320,7 @@ void __config_ChainParse( vlc_object_t *p_this, const char *psz_prefix,
...
@@ -320,7 +320,7 @@ void __config_ChainParse( vlc_object_t *p_this, const char *psz_prefix,
msg_Warn
(
p_this
,
"Option %s is obsolete. Use %s instead."
,
msg_Warn
(
p_this
,
"Option %s is obsolete. Use %s instead."
,
name
,
psz_name
);
name
,
psz_name
);
}
}
if
(
p_conf
->
b_safe
)
if
(
!
p_conf
->
b_safe
)
{
{
int
policy
=
config_GetInt
(
p_this
,
"security-policy"
);
int
policy
=
config_GetInt
(
p_this
,
"security-policy"
);
switch
(
policy
)
switch
(
policy
)
...
...
src/misc/variables.c
View file @
15e4046f
...
@@ -1099,7 +1099,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option )
...
@@ -1099,7 +1099,7 @@ void __var_OptionParse( vlc_object_t *p_obj, const char *psz_option )
/* check if option is unsafe */
/* check if option is unsafe */
{
{
module_config_t
*
p_config
=
config_FindConfig
(
p_obj
,
psz_name
);
module_config_t
*
p_config
=
config_FindConfig
(
p_obj
,
psz_name
);
if
(
p_config
->
b_safe
)
if
(
!
p_config
->
b_safe
)
{
{
int
policy
=
config_GetInt
(
p_obj
,
"security-policy"
);
int
policy
=
config_GetInt
(
p_obj
,
"security-policy"
);
switch
(
policy
)
switch
(
policy
)
...
...
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