Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
f485a1f9
Commit
f485a1f9
authored
Nov 22, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error detection in plugin cache loader
parent
53564183
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/misc/modules.c
src/misc/modules.c
+6
-6
No files found.
src/misc/modules.c
View file @
f485a1f9
...
...
@@ -1726,7 +1726,7 @@ static void CacheLoad( vlc_object_t *p_this )
for
(
i
=
0
;
i
<
i_cache
;
i
++
)
{
int16_t
i_size
;
u
int16_t
i_size
;
int
i_submodules
;
pp_cache
[
i
]
=
malloc
(
sizeof
(
module_cache_t
)
);
...
...
@@ -1805,7 +1805,7 @@ static void CacheLoad( vlc_object_t *p_this )
int
CacheLoadConfig
(
module_t
*
p_module
,
FILE
*
file
)
{
int
i
,
j
,
i_lines
;
int16_t
i_size
;
u
int16_t
i_size
;
/* Calculate the structure length */
LOAD_IMMEDIATE
(
p_module
->
i_config_items
);
...
...
@@ -2006,8 +2006,8 @@ static void CacheSave( vlc_object_t *p_this )
for
(
i
=
0
;
i
<
i_cache
;
i
++
)
{
int16_t
i_size
;
int32_t
i_submodule
;
u
int16_t
i_size
;
u
int32_t
i_submodule
;
/* Save common info */
SAVE_STRING
(
pp_cache
[
i
]
->
psz_file
);
...
...
@@ -2040,7 +2040,7 @@ static void CacheSave( vlc_object_t *p_this )
i_submodule
=
pp_cache
[
i
]
->
p_module
->
i_children
;
SAVE_IMMEDIATE
(
i_submodule
);
for
(
i_submodule
=
0
;
i_submodule
<
pp_cache
[
i
]
->
p_module
->
i_children
;
for
(
i_submodule
=
0
;
i_submodule
<
(
unsigned
)
pp_cache
[
i
]
->
p_module
->
i_children
;
i_submodule
++
)
{
module_t
*
p_module
=
...
...
@@ -2076,7 +2076,7 @@ void CacheSaveConfig( module_t *p_module, FILE *file )
{
int
i
,
j
,
i_lines
=
0
;
module_config_t
*
p_item
;
int16_t
i_size
;
u
int16_t
i_size
;
SAVE_IMMEDIATE
(
p_module
->
i_config_items
);
SAVE_IMMEDIATE
(
p_module
->
i_bool_items
);
...
...
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