Mercurial > libavcodec.hg
changeset 1921:7aaf242d5b51 libavcodec
time & (s)rand is forbidden
author | michael |
---|---|
date | Sun, 04 Apr 2004 11:46:01 +0000 |
parents | 9b87ed973dda |
children | 0ed2d7ecd1e9 |
files | common.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/common.h Sun Apr 04 02:07:15 2004 +0000 +++ b/common.h Sun Apr 04 11:46:01 2004 +0000 @@ -1276,6 +1276,9 @@ #define malloc please_use_av_malloc #define free please_use_av_free #define realloc please_use_av_realloc +#define time time_is_forbidden_due_to_security_issues +#define rand rand_is_forbidden_due_to_state_trashing +#define srand srand_is_forbidden_due_to_state_trashing #if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H)) #define printf please_use_av_log #define fprintf please_use_av_log