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
6465bbf7
Commit
6465bbf7
authored
Jun 24, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_InternalDestroy: remove dead code
parent
f7bb9fcf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
src/control/core.c
src/control/core.c
+1
-1
src/control/libvlc_internal.h
src/control/libvlc_internal.h
+1
-1
src/libvlc.c
src/libvlc.c
+1
-3
No files found.
src/control/core.c
View file @
6465bbf7
...
...
@@ -164,7 +164,7 @@ void libvlc_release( libvlc_instance_t *p_instance )
vlc_mutex_destroy
(
lock
);
vlc_mutex_destroy
(
&
p_instance
->
event_callback_lock
);
libvlc_InternalCleanup
(
p_instance
->
p_libvlc_int
);
libvlc_InternalDestroy
(
p_instance
->
p_libvlc_int
,
false
);
libvlc_InternalDestroy
(
p_instance
->
p_libvlc_int
);
free
(
p_instance
);
}
}
...
...
src/control/libvlc_internal.h
View file @
6465bbf7
...
...
@@ -42,7 +42,7 @@
VLC_EXPORT
(
libvlc_int_t
*
,
libvlc_InternalCreate
,
(
void
)
);
VLC_EXPORT
(
int
,
libvlc_InternalInit
,
(
libvlc_int_t
*
,
int
,
const
char
*
ppsz_argv
[]
)
);
VLC_EXPORT
(
int
,
libvlc_InternalCleanup
,
(
libvlc_int_t
*
)
);
VLC_EXPORT
(
int
,
libvlc_InternalDestroy
,
(
libvlc_int_t
*
,
bool
)
);
VLC_EXPORT
(
int
,
libvlc_InternalDestroy
,
(
libvlc_int_t
*
)
);
VLC_EXPORT
(
int
,
libvlc_InternalAddIntf
,
(
libvlc_int_t
*
,
const
char
*
)
);
...
...
src/libvlc.c
View file @
6465bbf7
...
...
@@ -1023,9 +1023,8 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
* termination, and destroys their structure.
* It stops the thread systems: no instance can run after this has run
* \param p_libvlc the instance to destroy
* \param b_release whether we should do a release on the instance
*/
int
libvlc_InternalDestroy
(
libvlc_int_t
*
p_libvlc
,
bool
b_release
)
int
libvlc_InternalDestroy
(
libvlc_int_t
*
p_libvlc
)
{
if
(
!
p_libvlc
)
return
VLC_EGENERIC
;
...
...
@@ -1084,7 +1083,6 @@ int libvlc_InternalDestroy( libvlc_int_t *p_libvlc, bool b_release )
vlc_cond_destroy
(
&
priv
->
threads_wait
);
vlc_mutex_destroy
(
&
priv
->
threads_lock
);
if
(
b_release
)
vlc_object_release
(
p_libvlc
);
vlc_object_release
(
p_libvlc
);
p_libvlc
=
NULL
;
...
...
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