summaryrefslogtreecommitdiff
path: root/libavutil/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/hash.c')
-rw-r--r--libavutil/hash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/hash.c b/libavutil/hash.c
index 7037b0d6ff..75edb6db78 100644
--- a/libavutil/hash.c
+++ b/libavutil/hash.c
@@ -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;