Mercurial > libavutil.hg
diff sha1.c @ 603:880c6441f56a libavutil
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
author | aurel |
---|---|
date | Tue, 13 Jan 2009 23:44:16 +0000 |
parents | 81f4d434dc96 |
children | f7f8673fbfb0 |
line wrap: on
line diff
--- a/sha1.c Tue Jan 13 00:14:43 2009 +0000 +++ b/sha1.c Tue Jan 13 23:44:16 2009 +0000 @@ -54,7 +54,7 @@ c = state[2]; d = state[3]; e = state[4]; -#ifdef CONFIG_SMALL +#if CONFIG_SMALL for(i=0; i<80; i++){ int t; if(i<16) t= be2me_32(((uint32_t*)buffer)[i]); @@ -110,7 +110,7 @@ j = ctx->count & 63; ctx->count += len; -#ifdef CONFIG_SMALL +#if CONFIG_SMALL for( i = 0; i < len; i++ ){ ctx->buffer[ j++ ] = data[i]; if( 64 == j ){