Changeset 6465bbf725b1155954a7472ec401576c305eb048
- Timestamp:
- 06/24/08 18:23:41
(2 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214324621 +0300
- git-parent:
[f7bb9fcf168e22df7ac7a056ec989ce8ef41ffb4]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214324621 +0300
- Message:
libvlc_InternalDestroy: remove dead code
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra62595b |
r6465bbf |
|
| 165 | 165 | vlc_mutex_destroy( &p_instance->event_callback_lock ); |
|---|
| 166 | 166 | libvlc_InternalCleanup( p_instance->p_libvlc_int ); |
|---|
| 167 | | libvlc_InternalDestroy( p_instance->p_libvlc_int, false ); |
|---|
| | 167 | libvlc_InternalDestroy( p_instance->p_libvlc_int ); |
|---|
| 168 | 168 | free( p_instance ); |
|---|
| 169 | 169 | } |
|---|
| ra62595b |
r6465bbf |
|
| 43 | 43 | VLC_EXPORT (int, libvlc_InternalInit, ( libvlc_int_t *, int, const char *ppsz_argv[] ) ); |
|---|
| 44 | 44 | VLC_EXPORT (int, libvlc_InternalCleanup, ( libvlc_int_t * ) ); |
|---|
| 45 | | VLC_EXPORT (int, libvlc_InternalDestroy, ( libvlc_int_t *, bool ) ); |
|---|
| | 45 | VLC_EXPORT (int, libvlc_InternalDestroy, ( libvlc_int_t * ) ); |
|---|
| 46 | 46 | |
|---|
| 47 | 47 | VLC_EXPORT (int, libvlc_InternalAddIntf, ( libvlc_int_t *, const char * ) ); |
|---|
| race8cae |
r6465bbf |
|
| 1024 | 1024 | * It stops the thread systems: no instance can run after this has run |
|---|
| 1025 | 1025 | * \param p_libvlc the instance to destroy |
|---|
| 1026 | | * \param b_release whether we should do a release on the instance |
|---|
| 1027 | 1026 | */ |
|---|
| 1028 | | int libvlc_InternalDestroy( libvlc_int_t *p_libvlc, bool b_release ) |
|---|
| | 1027 | int libvlc_InternalDestroy( libvlc_int_t *p_libvlc ) |
|---|
| 1029 | 1028 | { |
|---|
| 1030 | 1029 | if( !p_libvlc ) |
|---|
| … | … | |
| 1085 | 1084 | vlc_mutex_destroy (&priv->threads_lock); |
|---|
| 1086 | 1085 | |
|---|
| 1087 | | if( b_release ) vlc_object_release( p_libvlc ); |
|---|
| 1088 | 1086 | vlc_object_release( p_libvlc ); |
|---|
| 1089 | 1087 | p_libvlc = NULL; |
|---|