[vlc-devel] commit: playlist: Don't accept request on dead playlist. (Pierre d' Herbemont )
Bill C. Riemers
briemers at redhat.com
Mon Jul 7 17:12:10 CEST 2008
Never mind. After running "make distclean" a second time I am getting
a completely different compile error. I am not sure if this cleared
this error, or I am no longer getting to the compile step that caused it.
Bill
Bill C. Riemers wrote:
> I am guessing this commit is responsible for the undefined reference to
> __vlc_object_alive.
>
> gcc -std=gnu99 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes
> -Wvolatile-register-var -o vlc vlc-vlc.o -g ./.libs/libvlc.so
> /autohome/docbill/source/git/vlc/src/.libs/libvlccore.so -L/lib64
> ./.libs/libvlccore.so -lhal -ldbus-1 -lrt -lpthread -ldl -lm -Wl,--rpath
> -Wl,/autohome/docbill/source/git/vlc/src/.libs
> /autohome/docbill/source/git/vlc/src/.libs/libvlccore.so: undefined
> reference to `vlc_custom_create'
> ./.libs/libvlc.so: undefined reference to `__vlc_object_alive'
> collect2: ld returned 1 exit status
>
>
> git version control wrote:
>
>> vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jul 6 14:36:57 2008 +0200| [8002c90b632af06ea8ddfc5c50c16dc26f7c001a]
>>
>> playlist: Don't accept request on dead playlist.
>>
>>
>>
>>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8002c90b632af06ea8ddfc5c50c16dc26f7c001a
>>>
>>>
>> ---
>>
>> src/playlist/control.c | 3 +++
>> 1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/playlist/control.c b/src/playlist/control.c
>> index fa2644c..5bf66f6 100644
>> --- a/src/playlist/control.c
>> +++ b/src/playlist/control.c
>> @@ -78,6 +78,9 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
>> playlist_item_t *p_item, *p_node;
>> vlc_value_t val;
>>
>> + if( !vlc_object_alive( p_playlist ) )
>> + return VLC_EGENERIC;
>> +
>> if( playlist_IsEmpty( p_playlist ) )
>> return VLC_EGENERIC;
>>
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
>>
>>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
More information about the vlc-devel
mailing list