summaryrefslogtreecommitdiff
path: root/libavutil/sha1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-13 10:53:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-13 10:53:15 +0000
commit104c30ee061d0c60a87591c4784a82d40a35ab2d (patch)
tree27f6199ccf46a2f17e0b0940f271f9725f02f5b1 /libavutil/sha1.c
parent200130450075fbf446aeb91f163d6d8037fa2e2d (diff)
use CONFIG_SMALL
Originally committed as revision 8380 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/sha1.c')
-rw-r--r--libavutil/sha1.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c
index 82416e8fe7..43b63611dc 100644
--- a/libavutil/sha1.c
+++ b/libavutil/sha1.c
@@ -25,8 +25,6 @@ typedef struct AVSHA1 {
/* Hash a single 512-bit block. This is the core of the algorithm. */
-//#define VARIANT2
-
static void transform(uint32_t state[5], uint8_t buffer[64]){
uint32_t block[80];
unsigned int i, a, b, c, d, e;
@@ -36,7 +34,7 @@ static void transform(uint32_t state[5], uint8_t buffer[64]){
c = state[2];
d = state[3];
e = state[4];
-#ifdef VARIANT2
+#ifdef CONFIG_SMALL
for(i=0; i<80; i++){
int t;
if(i<16) t= be2me_32(((uint32_t*)buffer)[i]);