diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-03-21 16:16:04 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-03-21 16:16:04 +0000 |
commit | 9f5da4d189e283a6ec0b1809357a9ee9a2f8c2e1 (patch) | |
tree | 216630095c6d708560c647cda34b016046be9c54 /libavutil | |
parent | 573e0118e2b5aca77b6dec53e8337f699d704095 (diff) | |
download | ffmpeg-9f5da4d189e283a6ec0b1809357a9ee9a2f8c2e1.tar.gz |
When warning about forbidden pseudo random number generation functions,
suggest the correct replacement functions.
Originally committed as revision 18114 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 4191aa8e52..a41a94636f 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -224,11 +224,11 @@ if((y)<(x)){\ #undef time #define time time_is_forbidden_due_to_security_issues #undef rand -#define rand rand_is_forbidden_due_to_state_trashing_use_av_random +#define rand rand_is_forbidden_due_to_state_trashing_use_av_lfg_get #undef srand -#define srand srand_is_forbidden_due_to_state_trashing_use_av_random_init +#define srand srand_is_forbidden_due_to_state_trashing_use_av_lfg_init #undef random -#define random random_is_forbidden_due_to_state_trashing_use_av_random +#define random random_is_forbidden_due_to_state_trashing_use_av_lfg_get #undef sprintf #define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf #undef strcat |