X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fsha.c;h=03f93aed8ce4393a07bcaeb73ccfc2780c454cf0;hb=e435beb1ea5380a90774dbf51fdc8c941e486551;hp=404effade2ebc5137bc535d7f8b735d8f59cfbaa;hpb=f1af37b51033ad90e56a8d7dfcc366f2bd9d2fed;p=ffmpeg diff --git a/libavutil/sha.c b/libavutil/sha.c index 404effade2e..03f93aed8ce 100644 --- a/libavutil/sha.c +++ b/libavutil/sha.c @@ -290,7 +290,11 @@ av_cold int av_sha_init(AVSHA *ctx, int bits) return 0; } -void av_sha_update(AVSHA* ctx, const uint8_t* data, unsigned int len) +#if FF_API_CRYPTO_SIZE_T +void av_sha_update(struct AVSHA *ctx, const uint8_t *data, unsigned int len) +#else +void av_sha_update(struct AVSHA *ctx, const uint8_t *data, size_t len) +#endif { unsigned int i, j;