OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045b60b
)
Simplify expression as suggested by Måns Rullgård
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 11 Feb 2010 14:08:40 +0000
(14:08 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 11 Feb 2010 14:08:40 +0000
(14:08 +0000)
Originally committed as revision 21756 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/sha.c
patch
|
blob
|
history
diff --git
a/libavutil/sha.c
b/libavutil/sha.c
index
38221a7
..
7300f8c
100644
(file)
--- 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_W
N32(digest + i*4, be2me_32(ctx->state[i])
);
+ AV_W
B32(digest + i*4, ctx->state[i]
);
}
#if LIBAVUTIL_VERSION_MAJOR < 51