changeset 835:918af9b85ce1 libavutil

Simplify expression as suggested by Mns Rullgrd
author kostya
date Thu, 11 Feb 2010 14:08:40 +0000
parents 3423ae1276e2
children af688c6fa72f
files sha.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sha.c	Thu Feb 11 11:45:35 2010 +0000
+++ b/sha.c	Thu Feb 11 14:08:40 2010 +0000
@@ -320,7 +320,7 @@
         av_sha_update(ctx, "", 1);
     av_sha_update(ctx, (uint8_t *)&finalcount, 8); /* Should cause a transform() */
     for (i = 0; i < ctx->digest_len; i++)
-        AV_WN32(digest + i*4, be2me_32(ctx->state[i]));
+        AV_WB32(digest + i*4, ctx->state[i]);
 }
 
 #if LIBAVUTIL_VERSION_MAJOR < 51