aboutsummaryrefslogtreecommitdiff
path: root/libavutil/aes.c
diff options
context:
space:
mode:
authorDiego Biurrun2008-01-08 22:40:25 +0000
committerDiego Biurrun2008-01-08 22:40:25 +0000
commit43bfaa89204483c58fa513f00220cd8b115d6ef2 (patch)
treec63de9ae7c935a5445d99c5a6a795c23b571e92a /libavutil/aes.c
parent727601bc4b02aa2cd96d1e7ede66d2a875c6756f (diff)
Fix test program compilation, random() needs to be undefined.
Originally committed as revision 11470 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/aes.c')
-rw-r--r--libavutil/aes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c
index c2df3b23e6..5030dac487 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -194,6 +194,8 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
#ifdef TEST
#include "log.h"
+#undef random
+
int main(void){
int i,j;
AVAES ae, ad, b;