explain how to test it
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Mar 2007 21:07:38 +0000 (21:07 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Mar 2007 21:07:38 +0000 (21:07 +0000)
Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/sha1.c

index 3c46140..6ab8c25 100644 (file)
@@ -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 <stdio.h>
 #undef printf