mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
time & (s)rand is forbidden
Originally committed as revision 2954 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d76f581ff5
commit
7d1bbcd42f
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue