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
c78c2b56
Commit
c78c2b56
authored
Jul 03, 2010
by
Srikanth Raju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ML: No need to initialise
parent
88c67824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/media_library.c
src/misc/media_library.c
+3
-3
No files found.
src/misc/media_library.c
View file @
c78c2b56
...
@@ -78,7 +78,7 @@ static void *ml_gc_init (ml_gc_object_t *p_gc, void (*pf_destruct) (ml_gc_object
...
@@ -78,7 +78,7 @@ static void *ml_gc_init (ml_gc_object_t *p_gc, void (*pf_destruct) (ml_gc_object
*/
*/
media_library_t
*
ml_Create
(
vlc_object_t
*
p_this
,
char
*
psz_name
)
media_library_t
*
ml_Create
(
vlc_object_t
*
p_this
,
char
*
psz_name
)
{
{
media_library_t
*
p_ml
=
NULL
;
media_library_t
*
p_ml
;
p_ml
=
(
media_library_t
*
)
vlc_custom_create
(
p_ml
=
(
media_library_t
*
)
vlc_custom_create
(
p_this
,
sizeof
(
media_library_t
),
p_this
,
sizeof
(
media_library_t
),
...
@@ -110,7 +110,7 @@ media_library_t *ml_Create( vlc_object_t *p_this, char *psz_name )
...
@@ -110,7 +110,7 @@ media_library_t *ml_Create( vlc_object_t *p_this, char *psz_name )
*/
*/
media_library_t
*
ml_Hold
(
vlc_object_t
*
p_this
)
media_library_t
*
ml_Hold
(
vlc_object_t
*
p_this
)
{
{
media_library_t
*
p_ml
=
NULL
;
media_library_t
*
p_ml
;
p_ml
=
libvlc_priv
(
p_this
->
p_libvlc
)
->
p_ml
;
p_ml
=
libvlc_priv
(
p_this
->
p_libvlc
)
->
p_ml
;
assert
(
VLC_OBJECT
(
p_ml
)
!=
p_this
);
assert
(
VLC_OBJECT
(
p_ml
)
!=
p_this
);
if
(
p_ml
==
NULL
&&
if
(
p_ml
==
NULL
&&
...
@@ -191,7 +191,7 @@ int ml_UpdateSimple( media_library_t *p_media_library,
...
@@ -191,7 +191,7 @@ int ml_UpdateSimple( media_library_t *p_media_library,
const
char
*
psz_lvalue
,
const
char
*
psz_lvalue
,
int
id
,
...
)
int
id
,
...
)
{
{
ml_element_t
*
update
=
NULL
;
ml_element_t
*
update
;
vlc_array_t
*
array
=
vlc_array_new
();
vlc_array_t
*
array
=
vlc_array_new
();
int
i_ret
=
VLC_SUCCESS
;
int
i_ret
=
VLC_SUCCESS
;
...
...
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