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
47281ac2
Commit
47281ac2
authored
May 14, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix loading plugins still depending on unsafe config actions
parent
437c3166
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
src/modules/modules.c
src/modules/modules.c
+7
-10
No files found.
src/modules/modules.c
View file @
47281ac2
...
...
@@ -966,9 +966,9 @@ static int AllocatePluginFile( vlc_object_t * p_this, module_bank_t *p_bank,
{
module_t
*
p_module
=
NULL
;
/*
* Check our plugins cache first then load plugin if needed
*/
/*
msg_Dbg( p_this, "plugin \"%s\", %s",
p_module->psz_object_name, p_module->psz_longname ); */
/* Check our plugins cache first then load plugin if needed
*/
if
(
mode
==
CACHE_USE
)
p_module
=
CacheFind
(
p_bank
,
path
,
mtime
,
size
);
if
(
p_module
==
NULL
)
...
...
@@ -978,15 +978,9 @@ static int AllocatePluginFile( vlc_object_t * p_this, module_bank_t *p_bank,
/* We have not already scanned and inserted this module */
assert
(
p_module
->
next
==
NULL
);
assert
(
!
p_module
->
b_builtin
);
/* msg_Dbg( p_this, "plugin \"%s\", %s",
p_module->psz_object_name, p_module->psz_longname ); */
p_module
->
next
=
p_bank
->
head
;
p_bank
->
head
=
p_module
;
assert
(
p_module
->
next
!=
NULL
);
/* Insertion done */
/* Unload plugin until we really need it */
assert
(
!
p_module
->
b_builtin
);
if
(
p_module
->
b_loaded
&&
p_module
->
b_unloadable
)
{
module_Unload
(
p_module
->
handle
);
...
...
@@ -1006,6 +1000,9 @@ static int AllocatePluginFile( vlc_object_t * p_this, module_bank_t *p_bank,
break
;
}
p_module
->
next
=
p_bank
->
head
;
p_bank
->
head
=
p_module
;
if
(
mode
==
CACHE_IGNORE
)
return
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