avutil/crypto: change length parameter to size_t on the remaining modules
See651ee93461fcc4ed1efaSigned-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user