[FFmpeg-cvslog] r15335 - trunk/libavutil/md5.c
michael
subversion
Tue Sep 16 00:10:29 CEST 2008
Author: michael
Date: Tue Sep 16 00:10:28 2008
New Revision: 15335
Log:
Fix issue634.
Modified:
trunk/libavutil/md5.c
Modified: trunk/libavutil/md5.c
==============================================================================
--- trunk/libavutil/md5.c (original)
+++ trunk/libavutil/md5.c Tue Sep 16 00:10:28 2008
@@ -144,7 +144,7 @@ void av_md5_final(AVMD5 *ctx, uint8_t *d
uint64_t finalcount= le2me_64(ctx->len<<3);
av_md5_update(ctx, "\200", 1);
- while((ctx->len & 63)<56)
+ while((ctx->len & 63)!=56)
av_md5_update(ctx, "", 1);
av_md5_update(ctx, (uint8_t*)&finalcount, 8);
More information about the ffmpeg-cvslog
mailing list