Changeset 6465bbf725b1155954a7472ec401576c305eb048

Show
Ignore:
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
  • src/control/core.c

    ra62595b r6465bbf  
    165165        vlc_mutex_destroy( &p_instance->event_callback_lock ); 
    166166        libvlc_InternalCleanup( p_instance->p_libvlc_int ); 
    167         libvlc_InternalDestroy( p_instance->p_libvlc_int, false ); 
     167        libvlc_InternalDestroy( p_instance->p_libvlc_int ); 
    168168        free( p_instance ); 
    169169    } 
  • src/control/libvlc_internal.h

    ra62595b r6465bbf  
    4343VLC_EXPORT (int, libvlc_InternalInit, ( libvlc_int_t *, int, const char *ppsz_argv[] ) ); 
    4444VLC_EXPORT (int, libvlc_InternalCleanup, ( libvlc_int_t * ) ); 
    45 VLC_EXPORT (int, libvlc_InternalDestroy, ( libvlc_int_t *, bool ) ); 
     45VLC_EXPORT (int, libvlc_InternalDestroy, ( libvlc_int_t * ) ); 
    4646 
    4747VLC_EXPORT (int, libvlc_InternalAddIntf, ( libvlc_int_t *, const char * ) ); 
  • src/libvlc.c

    race8cae r6465bbf  
    10241024 * It stops the thread systems: no instance can run after this has run 
    10251025 * \param p_libvlc the instance to destroy 
    1026  * \param b_release whether we should do a release on the instance 
    10271026 */ 
    1028 int libvlc_InternalDestroy( libvlc_int_t *p_libvlc, bool b_release
     1027int libvlc_InternalDestroy( libvlc_int_t *p_libvlc
    10291028{ 
    10301029    if( !p_libvlc ) 
     
    10851084    vlc_mutex_destroy (&priv->threads_lock); 
    10861085 
    1087     if( b_release ) vlc_object_release( p_libvlc ); 
    10881086    vlc_object_release( p_libvlc ); 
    10891087    p_libvlc = NULL;