Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cc008d9d
Commit
cc008d9d
authored
Jan 24, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitelisting.
parent
023fa076
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
include/vlc_configuration.h
include/vlc_configuration.h
+5
-3
src/modules/entry.c
src/modules/entry.c
+1
-1
No files found.
include/vlc_configuration.h
View file @
cc008d9d
...
...
@@ -282,7 +282,7 @@ enum vlc_config_properties
VLC_CONFIG_OLDNAME
,
/* former option name (args=const char *) */
VLC_CONFIG_
UN
SAFE
,
VLC_CONFIG_SAFE
,
/* tag as modifiable by untrusted input item "sources" (args=none) */
};
...
...
@@ -472,8 +472,10 @@ VLC_EXPORT( int, vlc_config_set, (module_config_t *, int, ...) );
#define change_unsaveable() \
vlc_config_set (p_config, VLC_CONFIG_VOLATILE)
#define change_unsafe() \
vlc_config_set (p_config, VLC_CONFIG_UNSAFE)
#define change_unsafe() (void)0
/* no-op */
#define change_safe() \
vlc_config_set (p_config, VLC_CONFIG_SAFE)
/****************************************************************************
* config_chain_t:
...
...
src/modules/entry.c
View file @
cc008d9d
...
...
@@ -411,7 +411,7 @@ int vlc_config_set (module_config_t *restrict item, int id, ...)
break
;
}
case
VLC_CONFIG_
UN
SAFE
:
case
VLC_CONFIG_SAFE
:
item
->
b_unsafe
=
VLC_TRUE
;
ret
=
0
;
break
;
...
...
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