diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
commit | 8fc0162ac44f3e60798552ca6d19387be95cae4c (patch) | |
tree | 443f7c684a3a8be0e9b70d67a91b8572bfa1ddd2 /libavutil/md5.c | |
parent | e6b22522c94cfccda97018e52ab65da8c69d8a56 (diff) | |
download | ffmpeg-8fc0162ac44f3e60798552ca6d19387be95cae4c.tar.gz |
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/md5.c')
-rw-r--r-- | libavutil/md5.c | 6 |
1 files changed, 3 insertions, 3 deletions
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){ |