[FFmpeg-cvslog] r9472 - trunk/libavutil/internal.h

vitor subversion
Thu Jul 5 07:02:47 CEST 2007


Author: vitor
Date: Thu Jul  5 07:02:47 2007
New Revision: 9472

Log:
Make error message more helpful and forbid random()

Modified:
   trunk/libavutil/internal.h

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	(original)
+++ trunk/libavutil/internal.h	Thu Jul  5 07:02:47 2007
@@ -238,8 +238,9 @@ if((y)<(x)){\
 #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
+#define rand rand_is_forbidden_due_to_state_trashing_use_av_random
+#define srand srand_is_forbidden_due_to_state_trashing_use_av_init_random
+#define random random_is_forbidden_due_to_state_trashing_use_av_random
 #define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
 #define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat
 #define exit exit_is_forbidden




More information about the ffmpeg-cvslog mailing list