aboutsummaryrefslogtreecommitdiff
path: root/libavutil/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/md5.c')
-rw-r--r--libavutil/md5.c6
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){