Commit 2e251e29 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Compile fix

parent 98cb4bf1
...@@ -147,7 +147,6 @@ vlc_object_t *vlc_custom_create( vlc_object_t *p_this, size_t i_size, ...@@ -147,7 +147,6 @@ vlc_object_t *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
{ {
/* If i_type is global, then p_new is actually p_libvlc_global */ /* If i_type is global, then p_new is actually p_libvlc_global */
libvlc_global_data_t *p_libvlc_global = (libvlc_global_data_t *)p_new; libvlc_global_data_t *p_libvlc_global = (libvlc_global_data_t *)p_new;
p_new->p_libvlc_global = p_new;
p_new->p_libvlc = NULL; p_new->p_libvlc = NULL;
p_libvlc_global->i_counter = 0; p_libvlc_global->i_counter = 0;
...@@ -161,7 +160,6 @@ vlc_object_t *vlc_custom_create( vlc_object_t *p_this, size_t i_size, ...@@ -161,7 +160,6 @@ vlc_object_t *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
else else
{ {
libvlc_global_data_t *p_libvlc_global = vlc_global(); libvlc_global_data_t *p_libvlc_global = vlc_global();
p_new->p_libvlc_global = VLC_OBJECT (p_libvlc_global);
p_new->p_libvlc = ( i_type == VLC_OBJECT_LIBVLC ) ? (libvlc_int_t*)p_new p_new->p_libvlc = ( i_type == VLC_OBJECT_LIBVLC ) ? (libvlc_int_t*)p_new
: p_this->p_libvlc; : p_this->p_libvlc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment