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
b677ecd6
Commit
b677ecd6
authored
Sep 22, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DeleteModule: remove useless parameter
parent
0f6a7eb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/modules/modules.c
src/modules/modules.c
+4
-5
No files found.
src/modules/modules.c
View file @
b677ecd6
...
@@ -102,7 +102,7 @@ static int AllocatePluginFile ( vlc_object_t *, char *, int64_t, int64_t );
...
@@ -102,7 +102,7 @@ static int AllocatePluginFile ( vlc_object_t *, char *, int64_t, int64_t );
static
module_t
*
AllocatePlugin
(
vlc_object_t
*
,
char
*
);
static
module_t
*
AllocatePlugin
(
vlc_object_t
*
,
char
*
);
#endif
#endif
static
int
AllocateBuiltinModule
(
vlc_object_t
*
,
int
(
*
)
(
module_t
*
)
);
static
int
AllocateBuiltinModule
(
vlc_object_t
*
,
int
(
*
)
(
module_t
*
)
);
static
void
DeleteModule
(
module_t
*
,
bool
);
static
void
DeleteModule
(
module_t
*
);
#ifdef HAVE_DYNAMIC_PLUGINS
#ifdef HAVE_DYNAMIC_PLUGINS
static
void
DupModule
(
module_t
*
);
static
void
DupModule
(
module_t
*
);
static
void
UndupModule
(
module_t
*
);
static
void
UndupModule
(
module_t
*
);
...
@@ -183,8 +183,7 @@ void __module_EndBank( vlc_object_t *p_this )
...
@@ -183,8 +183,7 @@ void __module_EndBank( vlc_object_t *p_this )
if
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
)
if
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
)
{
{
DeleteModule
(
DeleteModule
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
->
p_module
,
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
->
p_module
);
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
->
b_used
);
free
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
->
psz_file
);
free
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
->
psz_file
);
free
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
);
free
(
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
);
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
=
NULL
;
p_bank
->
pp_loaded_cache
[
p_bank
->
i_loaded_cache
]
=
NULL
;
...
@@ -209,7 +208,7 @@ void __module_EndBank( vlc_object_t *p_this )
...
@@ -209,7 +208,7 @@ void __module_EndBank( vlc_object_t *p_this )
#endif
#endif
while
(
p_bank
->
head
!=
NULL
)
while
(
p_bank
->
head
!=
NULL
)
DeleteModule
(
p_bank
->
head
,
true
);
DeleteModule
(
p_bank
->
head
);
p_module_bank
=
NULL
;
/* FIXME: do this inside the lock */
p_module_bank
=
NULL
;
/* FIXME: do this inside the lock */
free
(
p_bank
);
free
(
p_bank
);
...
@@ -1389,7 +1388,7 @@ static int AllocateBuiltinModule( vlc_object_t * p_this,
...
@@ -1389,7 +1388,7 @@ static int AllocateBuiltinModule( vlc_object_t * p_this,
*****************************************************************************
*****************************************************************************
* This function can only be called if the module isn't being used.
* This function can only be called if the module isn't being used.
*****************************************************************************/
*****************************************************************************/
static
void
DeleteModule
(
module_t
*
p_module
,
bool
b_detach
)
static
void
DeleteModule
(
module_t
*
p_module
)
{
{
assert
(
p_module
);
assert
(
p_module
);
...
...
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