Check return codes everywhere
Status: Beta
Brought to you by:
charly4711
Some checks for return codes are missing.
Examples:
Would you like to add more error handling for return values from "pthread_mutex_init" like in the function "xvc_appdata_init" and from "strdup" in the function "xvc_captypeoptions_copy"?
http://xvidcap.svn.sourceforge.net/viewvc/xvidcap/trunk/src/app_data.c?revision=292&view=markup
Logged In: YES
user_id=782084
Originator: NO
Is this a bug? (i. e. actually causing problems)
Logged In: YES
user_id=572001
Originator: YES
I suggest to avoid unchecked function calls.
Would you like to detect every error situation as early as possible?