aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2010-02-11 14:08:40 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2010-02-11 14:08:40 +0000
commita768816c33571bdd20d6cb3ab7d9a76e31ed37b6 (patch)
tree95d50b8e4f2a4b4b4ae8072bc5ea3a045f3f1724 /libavutil
parent045b60bf9b1a28faae0ceab053986662e20d3d59 (diff)
downloadffmpeg-a768816c33571bdd20d6cb3ab7d9a76e31ed37b6.tar.gz
Simplify expression as suggested by Måns Rullgård
Originally committed as revision 21756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/sha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c
index 38221a7164..7300f8c58a 100644
--- a/libavutil/sha.c
+++ b/libavutil/sha.c
@@ -320,7 +320,7 @@ void av_sha_final(AVSHA* ctx, uint8_t *digest)
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