vegastrike/src/networking/webcam_support.cpp:3661 compare the return value of pthread_cond_init(3) against -1 to check for error. However, the function returns non-zero on error, the return value being an error number indicating why it failed. See the man page for details.
Thanks,
Mike
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
To clarify, this function can reasonably fail and its failure can cause subtle bugs under memory pressure because it dynamically allocates memory.
Patch posted to https://sourceforge.net/p/vegastrike/patches/71/