projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c60e55
)
explain how to test it
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 12 Mar 2007 21:07:38 +0000
(21:07 +0000)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/libavutil/sha1.c
b/libavutil/sha1.c
index
3c46140
..
6ab8c25
100644
(file)
--- 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 <stdio.h>
#undef printf