diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-27 21:47:03 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-27 21:47:03 +0000 |
commit | c367d06702b3a9cb6b5cf02435f76c5dd5f321e7 (patch) | |
tree | 1a25060b56fbf78fecd6600f6f132b2553a8faa7 /libavutil | |
parent | 7975048628e0e9900797283da1a5b6d98757d3e4 (diff) | |
download | ffmpeg-streaming-c367d06702b3a9cb6b5cf02435f76c5dd5f321e7.zip ffmpeg-streaming-c367d06702b3a9cb6b5cf02435f76c5dd5f321e7.tar.gz |
prevent exit missuse
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 74477b7..eefbfa1 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -251,6 +251,7 @@ if((y)<(x)){\ #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 |