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
91079ddc
Commit
91079ddc
authored
Jan 25, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugins must match "lib*_plugin"LIBEXT, not just "*"LIBEXT
parent
6862cff0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/modules/modules.c
src/modules/modules.c
+5
-4
No files found.
src/modules/modules.c
View file @
91079ddc
...
...
@@ -898,10 +898,11 @@ static void AllocatePluginDir( vlc_object_t *p_this, module_bank_t *p_bank,
AllocatePluginDir
(
p_this
,
p_bank
,
path
,
i_maxdepth
-
1
);
else
if
(
S_ISREG
(
st
.
st_mode
)
&&
((
size_t
)
pathlen
>=
strlen
(
LIBEXT
))
&&
!
strncasecmp
(
path
+
pathlen
-
strlen
(
LIBEXT
),
LIBEXT
,
strlen
(
LIBEXT
)))
/* ^^ We only load files ending with LIBEXT */
&&
strncmp
(
path
,
"lib"
,
3
)
&&
((
size_t
)
pathlen
>=
sizeof
(
"_plugin"
LIBEXT
))
&&
!
strncasecmp
(
path
+
pathlen
-
strlen
(
"_plugin"
LIBEXT
),
"_plugin"
LIBEXT
,
strlen
(
"_plugni"
LIBEXT
)))
/* ^^ We only load files matching "lib*_plugin"LIBEXT */
AllocatePluginFile
(
p_this
,
p_bank
,
path
,
st
.
st_mtime
,
st
.
st_size
);
free
(
path
);
...
...
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