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
385750a5
Commit
385750a5
authored
Jul 10, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function.
parent
2af1ee85
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
28 deletions
+2
-28
include/vlc_playlist.h
include/vlc_playlist.h
+0
-1
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/playlist/tree.c
src/playlist/tree.c
+2
-26
No files found.
include/vlc_playlist.h
View file @
385750a5
...
...
@@ -364,7 +364,6 @@ VLC_EXPORT( int, playlist_NodeDelete, ( playlist_t *, playlist_item_t *, bool ,
VLC_EXPORT
(
playlist_item_t
*
,
playlist_GetPreferredNode
,
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_node
)
);
VLC_EXPORT
(
playlist_item_t
*
,
playlist_GetNextLeaf
,
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_root
,
playlist_item_t
*
p_item
,
bool
b_ena
,
bool
b_unplayed
)
);
VLC_EXPORT
(
playlist_item_t
*
,
playlist_GetPrevLeaf
,
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_root
,
playlist_item_t
*
p_item
,
bool
b_ena
,
bool
b_unplayed
)
);
VLC_EXPORT
(
playlist_item_t
*
,
playlist_GetLastLeaf
,
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_root
)
);
/***********************************************************************
* Inline functions
...
...
src/libvlccore.sym
View file @
385750a5
...
...
@@ -315,7 +315,6 @@ playlist_CurrentInput
playlist_CurrentPlayingItem
playlist_DeleteFromInput
playlist_Export
playlist_GetLastLeaf
playlist_GetNextLeaf
playlist_GetPreferredNode
playlist_GetPrevLeaf
...
...
src/playlist/tree.c
View file @
385750a5
...
...
@@ -144,7 +144,7 @@ int playlist_NodeDelete( playlist_t *p_playlist, playlist_item_t *p_root,
}
/* Delete the children */
for
(
i
=
p_root
->
i_children
-
1
;
i
>=
0
;
i
--
)
for
(
i
=
p_root
->
i_children
-
1
;
i
>=
0
;
i
--
)
{
if
(
p_root
->
pp_children
[
i
]
->
i_children
>
-
1
)
{
...
...
@@ -333,30 +333,6 @@ playlist_item_t * playlist_GetPreferredNode( playlist_t *p_playlist,
/**********************************************************************
* Tree walking functions
**********************************************************************/
playlist_item_t
*
playlist_GetLastLeaf
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_root
)
{
PL_ASSERT_LOCKED
;
int
i
;
playlist_item_t
*
p_item
;
for
(
i
=
p_root
->
i_children
-
1
;
i
>=
0
;
i
--
)
{
if
(
p_root
->
pp_children
[
i
]
->
i_children
==
-
1
)
return
p_root
->
pp_children
[
i
];
else
if
(
p_root
->
pp_children
[
i
]
->
i_children
>
0
)
{
p_item
=
playlist_GetLastLeaf
(
p_playlist
,
p_root
->
pp_children
[
i
]
);
if
(
p_item
!=
NULL
)
return
p_item
;
}
else
if
(
i
==
0
)
return
NULL
;
}
return
NULL
;
}
/**
* Finds the next item to play
*
...
...
@@ -415,7 +391,7 @@ playlist_item_t *playlist_GetPrevLeaf( playlist_t *p_playlist,
PL_ASSERT_LOCKED
;
playlist_item_t
*
p_prev
;
PL_DEBUG2
(
"finding previous o
s
%s within %s"
,
PLI_NAME
(
p_item
),
PL_DEBUG2
(
"finding previous o
f
%s within %s"
,
PLI_NAME
(
p_item
),
PLI_NAME
(
p_root
)
);
assert
(
p_root
&&
p_root
->
i_children
!=
-
1
);
...
...
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