diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 23:44:16 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-13 23:44:16 +0000 |
commit | b250f9c66d3ddd84652d158fb979a5f21e3f2c71 (patch) | |
tree | ef84366029d6f8af6ed82e90c5f188bb7dfc844d /libavutil/sha1.c | |
parent | 959da985b03570cfe7d239c0ba6d550ecb04c460 (diff) | |
download | ffmpeg-b250f9c66d3ddd84652d158fb979a5f21e3f2c71.tar.gz |
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/sha1.c')
-rw-r--r-- | libavutil/sha1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c index 61ad38de28..72c2726e3b 100644 --- a/libavutil/sha1.c +++ b/libavutil/sha1.c @@ -54,7 +54,7 @@ static void transform(uint32_t state[5], const uint8_t buffer[64]){ 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 @@ void av_sha1_update(AVSHA1* ctx, const uint8_t* data, unsigned int len){ 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 ){ |