[FFmpeg-cvslog] r11208 - trunk/libavutil/sha1.c
lu_zero
subversion
Wed Dec 12 22:03:12 CET 2007
Author: lu_zero
Date: Wed Dec 12 22:03:11 2007
New Revision: 11208
Log:
kill a warning, av_sha1_update accepts uint8_t * not uint64_t *
Modified:
trunk/libavutil/sha1.c
Modified: trunk/libavutil/sha1.c
==============================================================================
--- trunk/libavutil/sha1.c (original)
+++ trunk/libavutil/sha1.c Wed Dec 12 22:03:11 2007
@@ -140,7 +140,7 @@ void av_sha1_final(AVSHA1* ctx, uint8_t
while ((ctx->count & 63) != 56) {
av_sha1_update(ctx, "", 1);
}
- av_sha1_update(ctx, &finalcount, 8); /* Should cause a transform() */
+ av_sha1_update(ctx, (uint8_t *)&finalcount, 8); /* Should cause a transform() */
for(i=0; i<5; i++)
((uint32_t*)digest)[i]= be2me_32(ctx->state[i]);
}
More information about the ffmpeg-cvslog
mailing list