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
60327d5d
Commit
60327d5d
authored
Nov 03, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/flat_media_list_view.c: Remove some dead code. (Reported by jb).
parent
8678d297
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
src/control/flat_media_list_view.c
src/control/flat_media_list_view.c
+0
-28
No files found.
src/control/flat_media_list_view.c
View file @
60327d5d
...
...
@@ -42,37 +42,9 @@ struct libvlc_media_list_view_private_t
/*
* Private functions
*/
static
void
add_item
(
libvlc_media_list_view_t
*
p_mlv
,
libvlc_media_descriptor_t
*
p_md
);
static
void
remove_item
(
libvlc_media_list_view_t
*
p_mlv
,
libvlc_media_descriptor_t
*
p_md
);
static
void
flat_media_list_view_release
(
libvlc_media_list_view_t
*
p_mlv
);
/**************************************************************************
* add_item (private)
**************************************************************************/
static
void
add_item
(
libvlc_media_list_view_t
*
p_mlv
,
libvlc_media_descriptor_t
*
p_md
)
{
trace
(
"p_md '%s'
\n
"
,
p_md
->
p_input_item
->
psz_name
);
libvlc_media_descriptor_retain
(
p_md
);
vlc_array_append
(
&
p_mlv
->
p_this_view_data
->
array
,
p_md
);
}
/**************************************************************************
* remove_item (private)
**************************************************************************/
static
void
remove_item
(
libvlc_media_list_view_t
*
p_mlv
,
libvlc_media_descriptor_t
*
p_md
)
{
trace
(
"p_md '%s'
\n
"
,
p_md
->
p_input_item
->
psz_name
);
int
index
=
libvlc_media_list_index_of_item
(
p_mlv
,
p_md
,
NULL
);
if
(
index
<
0
)
return
;
libvlc_media_descriptor_release
(
p_md
);
vlc_array_remove
(
&
p_mlv
->
p_this_view_data
->
array
,
index
);
}
/**************************************************************************
* flat_media_list_view_count (private)
* (called by media_list_view_count)
...
...
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