X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fhash.c;h=75edb6db78865263d89aa4bf1418f31b910d650e;hb=52b44e9d15c0ee3c118ed68a0c2c737a9eb50ae9;hp=7037b0d6ff7e365a621cab0f839a4579d70bceee;hpb=6c59f05c74d87b169bd9775e6a399ed298742137;p=ffmpeg diff --git a/libavutil/hash.c b/libavutil/hash.c index 7037b0d6ff7..75edb6db788 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;