vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon May 15 21:23:53 2017 +0300| [72b3f02398c13f48bee5d8c5c141e97fd1182f83] | committer: Rémi Denis-Courmont
lib: vlm: privatize libvlc_vlm_t > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72b3f02398c13f48bee5d8c5c141e97fd1182f83 --- lib/libvlc_internal.h | 8 +------- lib/vlm.c | 6 ++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/libvlc_internal.h b/lib/libvlc_internal.h index 51fc6d0938..1869341996 100644 --- a/lib/libvlc_internal.h +++ b/lib/libvlc_internal.h @@ -57,16 +57,10 @@ VLC_API void libvlc_SetExitHandler( libvlc_int_t *, void (*) (void *), void * ); * Opaque structures for libvlc API ***************************************************************************/ -typedef struct libvlc_vlm_t -{ - vlm_t *p_vlm; - libvlc_event_manager_t *p_event_manager; -} libvlc_vlm_t; - struct libvlc_instance_t { libvlc_int_t *p_libvlc_int; - libvlc_vlm_t *vlm; + struct libvlc_vlm_t *vlm; unsigned ref_count; vlc_mutex_t instance_lock; struct libvlc_callback_entry_list_t *p_callback_list; diff --git a/lib/vlm.c b/lib/vlm.c index 26f6bdc8e9..3c4efb5cfa 100644 --- a/lib/vlm.c +++ b/lib/vlm.c @@ -34,6 +34,12 @@ #include "libvlc_internal.h" +typedef struct libvlc_vlm_t +{ + vlm_t *p_vlm; + libvlc_event_manager_t *p_event_manager; +} libvlc_vlm_t; + /* VLM events callback. Transmit to libvlc */ static int VlmEvent( vlc_object_t *p_this, const char * name, vlc_value_t old_val, vlc_value_t newval, void *param ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
