Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5e04d7d0
Commit
5e04d7d0
authored
Jan 23, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
ec7e1f82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
77 deletions
+0
-77
src/misc/objects.c
src/misc/objects.c
+0
-77
No files found.
src/misc/objects.c
View file @
5e04d7d0
...
@@ -83,10 +83,6 @@ static void PrintObject ( vlc_object_t *, const char * );
...
@@ -83,10 +83,6 @@ static void PrintObject ( vlc_object_t *, const char * );
static
void
DumpStructure
(
vlc_object_t
*
,
int
,
char
*
);
static
void
DumpStructure
(
vlc_object_t
*
,
int
,
char
*
);
static
vlc_list_t
*
NewList
(
int
);
static
vlc_list_t
*
NewList
(
int
);
static
void
ListReplace
(
vlc_list_t
*
,
vlc_object_t
*
,
int
);
/*static void ListAppend ( vlc_list_t *, vlc_object_t * );*/
static
int
CountChildren
(
vlc_object_t
*
,
int
);
static
void
ListChildren
(
vlc_list_t
*
,
vlc_object_t
*
,
int
);
static
void
vlc_object_destroy
(
vlc_object_t
*
p_this
);
static
void
vlc_object_destroy
(
vlc_object_t
*
p_this
);
static
void
vlc_object_detach_unlocked
(
vlc_object_t
*
p_this
);
static
void
vlc_object_detach_unlocked
(
vlc_object_t
*
p_this
);
...
@@ -1050,76 +1046,3 @@ static vlc_list_t * NewList( int i_count )
...
@@ -1050,76 +1046,3 @@ static vlc_list_t * NewList( int i_count )
return
p_list
;
return
p_list
;
}
}
static
void
ListReplace
(
vlc_list_t
*
p_list
,
vlc_object_t
*
p_object
,
int
i_index
)
{
if
(
p_list
==
NULL
||
i_index
>=
p_list
->
i_count
)
{
return
;
}
vlc_object_hold
(
p_object
);
p_list
->
p_values
[
i_index
].
p_object
=
p_object
;
return
;
}
/*static void ListAppend( vlc_list_t *p_list, vlc_object_t *p_object )
{
if( p_list == NULL )
{
return;
}
p_list->p_values = realloc_or_free( p_list->p_values,
(p_list->i_count + 1) * sizeof( vlc_value_t ) );
if( p_list->p_values == NULL )
{
p_list->i_count = 0;
return;
}
vlc_object_hold( p_object );
p_list->p_values[p_list->i_count].p_object = p_object;
p_list->i_count++;
return;
}*/
static
int
CountChildren
(
vlc_object_t
*
p_this
,
int
i_type
)
{
vlc_object_t
*
p_tmp
;
int
i
,
i_count
=
0
;
for
(
i
=
0
;
i
<
vlc_internals
(
p_this
)
->
i_children
;
i
++
)
{
p_tmp
=
vlc_internals
(
p_this
)
->
pp_children
[
i
];
if
(
vlc_internals
(
p_tmp
)
->
i_object_type
==
i_type
)
{
i_count
++
;
}
i_count
+=
CountChildren
(
p_tmp
,
i_type
);
}
return
i_count
;
}
static
void
ListChildren
(
vlc_list_t
*
p_list
,
vlc_object_t
*
p_this
,
int
i_type
)
{
vlc_object_t
*
p_tmp
;
int
i
;
for
(
i
=
0
;
i
<
vlc_internals
(
p_this
)
->
i_children
;
i
++
)
{
p_tmp
=
vlc_internals
(
p_this
)
->
pp_children
[
i
];
if
(
vlc_internals
(
p_tmp
)
->
i_object_type
==
i_type
)
ListReplace
(
p_list
,
p_tmp
,
p_list
->
i_count
++
);
ListChildren
(
p_list
,
p_tmp
,
i_type
);
}
}
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