librtmp calls exit()

Fabian Greffrath fabian at greffrath.com
Fri Jul 9 12:02:29 UTC 2010


Dear Howard,

Debian's QA tool lintian has found that librtmp calls exit(). Indeed 
the library header librtmp/handshake.h contains functions that call 
exit(0). Do you really think this is necessary? Wouldn't it make more 
sense to convert the functions from type unsigned int to int and make 
them return a negative value if an error occurs? Then applications 
using the library could handle theses errors gracefully on their own.

  - Fabian




More information about the pkg-multimedia-maintainers mailing list