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

View file

@ -89,7 +89,11 @@ static inline uint64_t update_h2(uint64_t k, uint64_t h1, uint64_t h2)
return k;
}
#if FF_API_CRYPTO_SIZE_T
void av_murmur3_update(AVMurMur3 *c, const uint8_t *src, int len)
#else
void av_murmur3_update(AVMurMur3 *c, const uint8_t *src, size_t len)
#endif
{
const uint8_t *end;
uint64_t h1 = c->h1, h2 = c->h2;