From 8fc0162ac44f3e60798552ca6d19387be95cae4c Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sat, 10 Jul 2010 22:12:30 +0000 Subject: Add av_ prefix to bswap macros Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/md5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavutil/md5.c') diff --git a/libavutil/md5.c b/libavutil/md5.c index b7eee730dc..173ed0623b 100644 --- a/libavutil/md5.c +++ b/libavutil/md5.c @@ -95,7 +95,7 @@ static void body(uint32_t ABCD[4], uint32_t X[16]){ #if HAVE_BIGENDIAN for(i=0; i<16; i++) - X[i]= bswap_32(X[i]); + X[i]= av_bswap32(X[i]); #endif #if CONFIG_SMALL @@ -141,7 +141,7 @@ void av_md5_update(AVMD5 *ctx, const uint8_t *src, const int len){ void av_md5_final(AVMD5 *ctx, uint8_t *dst){ int i; - uint64_t finalcount= le2ne_64(ctx->len<<3); + uint64_t finalcount= av_le2ne64(ctx->len<<3); av_md5_update(ctx, "\200", 1); while((ctx->len & 63)!=56) @@ -150,7 +150,7 @@ void av_md5_final(AVMD5 *ctx, uint8_t *dst){ av_md5_update(ctx, (uint8_t*)&finalcount, 8); for(i=0; i<4; i++) - ((uint32_t*)dst)[i]= le2ne_32(ctx->ABCD[3-i]); + ((uint32_t*)dst)[i]= av_le2ne32(ctx->ABCD[3-i]); } void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len){ -- cgit v1.2.3