aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hash.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-06 21:56:20 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:13 -0300
commita240097ecd4fb1639db99e7becb888ae478405cd (patch)
tree26a70d86c81463ced96d1123bb0d06621668dffd /libavutil/hash.c
parent6e30b35b85b81c802e52a1078ec7a3097e353c6d (diff)
downloadffmpeg-a240097ecd4fb1639db99e7becb888ae478405cd.tar.gz
avutil: Switch crypto APIs to size_t
Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/hash.c')
-rw-r--r--libavutil/hash.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavutil/hash.c b/libavutil/hash.c
index d626c31181..9a49748189 100644
--- a/libavutil/hash.c
+++ b/libavutil/hash.c
@@ -157,11 +157,7 @@ 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;