Commit 7d1bbcd4 authored by Michael Niedermayer's avatar Michael Niedermayer

time & (s)rand is forbidden

Originally committed as revision 2954 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d76f581f
......@@ -1276,6 +1276,9 @@ tend= rdtsc();\
#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment