]> git.sesse.net Git - vlc/commit
vlc_clone() and vlc_thread_create() must be checked for errors
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 21 May 2009 16:43:30 +0000 (19:43 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 21 May 2009 16:43:30 +0000 (19:43 +0300)
commite08e3c11956750e0ec42110c2c796dd6b4cb4c70
treefe975c4bdc1f77a6af995c7c911edfa90b4cc3a3
parentbd78a9944361cbfaeae1b3f11e00c9b1754a7770
vlc_clone() and vlc_thread_create() must be checked for errors

Those two functions can actually fail and leave the handle undefined.
vlc_join() and vlc_thread_join() would then crash (say, be undefined),
so errors should be taken care of explicitly.
include/vlc_threads.h