diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-03 12:55:54 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-03 13:41:31 +0100 |
commit | 66fe5970abdad0964d0e0d0e100b62e715922886 (patch) | |
tree | 6904fd38f3f194e99c87ce4ec1dc75ceb3d2a3e7 | |
parent | 904b5d302d4e6b22226d2144c727f58793f3e547 (diff) | |
download | ffmpeg-66fe5970abdad0964d0e0d0e100b62e715922886.tar.gz |
des: reduce number of iterations in test program
Testing a million random keys takes annoying long time.
1000 iterations should be enough.
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r-- | libavutil/des.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/des.c b/libavutil/des.c index a30ef3ba7c..857ca91319 100644 --- a/libavutil/des.c +++ b/libavutil/des.c @@ -402,7 +402,7 @@ int main(void) { printf("Partial Monte-Carlo test failed\n"); return 1; } - for (i = 0; i < 1000000; i++) { + for (i = 0; i < 1000; i++) { key[0] = rand64(); key[1] = rand64(); key[2] = rand64(); data = rand64(); av_des_init(&d, key, 192, 0); |