mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-14 21:35:06 +02:00
Simplify expression as suggested by Måns Rullgård
Originally committed as revision 21756 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
045b60bf9b
commit
a768816c33
@ -320,7 +320,7 @@ void av_sha_final(AVSHA* ctx, uint8_t *digest)
|
|||||||
av_sha_update(ctx, "", 1);
|
av_sha_update(ctx, "", 1);
|
||||||
av_sha_update(ctx, (uint8_t *)&finalcount, 8); /* Should cause a transform() */
|
av_sha_update(ctx, (uint8_t *)&finalcount, 8); /* Should cause a transform() */
|
||||||
for (i = 0; i < ctx->digest_len; i++)
|
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
|
#if LIBAVUTIL_VERSION_MAJOR < 51
|
||||||
|
Loading…
Reference in New Issue
Block a user