From ae76034cbb87460fd19841c51164f086e5c8dcf5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 12 Mar 2007 21:07:38 +0000 Subject: [PATCH] explain how to test it Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/sha1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/sha1.c b/libavutil/sha1.c index 3c46140..6ab8c25 100644 --- a/libavutil/sha1.c +++ b/libavutil/sha1.c @@ -118,6 +118,8 @@ void av_sha1_final(AVSHA1* context, uint8_t digest[20]){ } } +// use the following to test +// gcc -DTEST -DHAVE_AV_CONFIG_H -I.. sha1.c -O3 -W -Wall -o sha1 && time ./sha1 #ifdef TEST #include #undef printf -- 2.7.4