avutil/crypto: change length parameter to size_t on the remaining modules

See 651ee93461
fcc4ed1efa

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2018-02-15 11:12:54 -03:00
parent 75027066d8
commit 8a8d0b319a
7 changed files with 32 additions and 0 deletions
+4
View File
@@ -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;