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
3c7ab8b5
Commit
3c7ab8b5
authored
Feb 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning
parent
3ce63d40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/modules/modules.c
src/modules/modules.c
+2
-3
No files found.
src/modules/modules.c
View file @
3c7ab8b5
...
...
@@ -1252,8 +1252,7 @@ static module_t * AllocatePlugin( vlc_object_t * p_this, const char *psz_file )
return
NULL
;
}
/* We need to fill these since they may be needed by module_Call() */
p_module
->
psz_filename
=
psz_file
;
p_module
->
psz_filename
=
strdup
(
psz_file
);
p_module
->
handle
=
handle
;
p_module
->
b_loaded
=
true
;
...
...
@@ -1261,13 +1260,13 @@ static module_t * AllocatePlugin( vlc_object_t * p_this, const char *psz_file )
if
(
module_Call
(
p_this
,
p_module
)
!=
0
)
{
/* We couldn't call module_init() */
free
(
p_module
->
psz_filename
);
module_release
(
p_module
);
module_Unload
(
handle
);
return
NULL
;
}
DupModule
(
p_module
);
p_module
->
psz_filename
=
strdup
(
p_module
->
psz_filename
);
/* Everything worked fine ! The module is ready to be added to the list. */
p_module
->
b_builtin
=
false
;
...
...
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