]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hash.c
Merge commit 'c31f6b1d61759436ef50c094e7f4c8005e97614a'
[ffmpeg] / libavutil / hash.c
index 7037b0d6ff7e365a621cab0f839a4579d70bceee..75edb6db78865263d89aa4bf1418f31b910d650e 100644 (file)
@@ -155,7 +155,11 @@ void av_hash_init(AVHashContext *ctx)
     }
 }
 
+#if FF_API_CRYPTO_SIZE_T
 void av_hash_update(AVHashContext *ctx, const uint8_t *src, int len)
+#else
+void av_hash_update(AVHashContext *ctx, const uint8_t *src, size_t len)
+#endif
 {
     switch (ctx->type) {
     case MD5:     av_md5_update(ctx->ctx, src, len); break;