aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/murmur3.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-02-15 11:12:54 -0300
committerJames Almer <jamrial@gmail.com>2018-02-15 11:21:28 -0300
commit8a8d0b319a9f941e1fcfda65f3a77c607cb05af2 (patch)
tree15f22c984566b9bf666c5459eb398dc8d4e8e9c1 /libavutil/murmur3.c
parent75027066d8e85ccf42b83f6cf1c3085221148f42 (diff)
downloadffmpeg-8a8d0b319a9f941e1fcfda65f3a77c607cb05af2.tar.gz
avutil/crypto: change length parameter to size_t on the remaining modules
See 651ee9346105b9d492e01172ab447c04d03fa32e fcc4ed1efa1a7575dc45fe57ce552af331941469 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/murmur3.c')
-rw-r--r--libavutil/murmur3.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/murmur3.c b/libavutil/murmur3.c
index ef853f404a..7961752515 100644
--- a/libavutil/murmur3.c
+++ b/libavutil/murmur3.c
@@ -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;