Browse Source

fixing warning

md5.c:150: warning: passing argument 2 of 'av_md5_update' from incompatible pointer type

Originally committed as revision 11665 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
59abc29e69
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/md5.c

+ 1
- 1
libavutil/md5.c View File

@@ -147,7 +147,7 @@ void av_md5_final(AVMD5 *ctx, uint8_t *dst){
while((ctx->len & 63)<56)
av_md5_update(ctx, "", 1);

av_md5_update(ctx, &finalcount, 8);
av_md5_update(ctx, (uint8_t*)&finalcount, 8);

for(i=0; i<4; i++)
((uint32_t*)dst)[i]= le2me_32(ctx->ABCD[3-i]);


Loading…
Cancel
Save