Mercurial > libavutil.hg
changeset 321:39cdbea1a8f1 libavutil
prevent exit missuse
author | michael |
---|---|
date | Tue, 27 Mar 2007 21:47:03 +0000 |
parents | ca1f5d65e653 |
children | f16d448df06e |
files | internal.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/internal.h Mon Mar 19 00:48:47 2007 +0000 +++ b/internal.h Tue Mar 27 21:47:03 2007 +0000 @@ -251,6 +251,7 @@ #define srand srand_is_forbidden_due_to_state_trashing #define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf #define strcat strcat_is_forbidden_due_to_security_issues_use_pstrcat +#define exit exit_is_forbidden #if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H)) #define printf please_use_av_log #define fprintf please_use_av_log