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
98ab5ed7
Commit
98ab5ed7
authored
Jan 27, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove write-only b_used property from cache entries
parent
754aeae1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
5 deletions
+0
-5
src/modules/cache.c
src/modules/cache.c
+0
-1
src/modules/modules.c
src/modules/modules.c
+0
-3
src/modules/modules.h
src/modules/modules.h
+0
-1
No files found.
src/modules/cache.c
View file @
98ab5ed7
...
...
@@ -233,7 +233,6 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
LOAD_STRING
(
pp_cache
[
i
]
->
psz_file
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
i_time
);
LOAD_IMMEDIATE
(
pp_cache
[
i
]
->
i_size
);
pp_cache
[
i
]
->
b_used
=
false
;
pp_cache
[
i
]
->
p_module
=
vlc_module_create
(
p_this
);
...
...
src/modules/modules.c
View file @
98ab5ed7
...
...
@@ -951,8 +951,6 @@ static int AllocatePluginFile( vlc_object_t * p_this, module_bank_t *p_bank,
break
;
}
}
if
(
p_module
==
p_cache_entry
->
p_module
)
p_cache_entry
->
b_used
=
true
;
}
if
(
p_module
==
NULL
)
...
...
@@ -982,7 +980,6 @@ static int AllocatePluginFile( vlc_object_t * p_this, module_bank_t *p_bank,
pp_cache
[
p_bank
->
i_cache
]
->
psz_file
=
strdup
(
psz_file
);
pp_cache
[
p_bank
->
i_cache
]
->
i_time
=
i_file_time
;
pp_cache
[
p_bank
->
i_cache
]
->
i_size
=
i_file_size
;
pp_cache
[
p_bank
->
i_cache
]
->
b_used
=
true
;
pp_cache
[
p_bank
->
i_cache
]
->
p_module
=
p_module
;
p_bank
->
pp_cache
=
pp_cache
;
p_bank
->
i_cache
++
;
...
...
src/modules/modules.h
View file @
98ab5ed7
...
...
@@ -65,7 +65,6 @@ struct module_cache_t
int64_t
i_size
;
/* Optional extra data */
bool
b_used
;
module_t
*
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