summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-04 11:46:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-04 11:46:01 +0000
commit7d1bbcd42fdb990dae849a1019e6b53cfe54a815 (patch)
tree68ef5d0760eedfbc156825334a51e1e04ce52b84
parentd76f581ff512c73c57fb417eda6ea19685bff69c (diff)
time & (s)rand is forbidden
Originally committed as revision 2954 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index 09643e1742..0b4b1aacfc 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -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