diff options
-rw-r--r-- | libavutil/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/md5.c b/libavutil/md5.c index ee39de1318..d7c4f300c3 100644 --- a/libavutil/md5.c +++ b/libavutil/md5.c @@ -144,7 +144,7 @@ void av_md5_final(AVMD5 *ctx, uint8_t *dst){ 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); |