diff options
author | James Almer <jamrial@gmail.com> | 2018-02-15 11:12:54 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-02-15 11:21:28 -0300 |
commit | 8a8d0b319a9f941e1fcfda65f3a77c607cb05af2 (patch) | |
tree | 15f22c984566b9bf666c5459eb398dc8d4e8e9c1 /libavutil/murmur3.h | |
parent | 75027066d8e85ccf42b83f6cf1c3085221148f42 (diff) | |
download | ffmpeg-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.h')
-rw-r--r-- | libavutil/murmur3.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/murmur3.h b/libavutil/murmur3.h index 6a1694c08d..1b09175c1e 100644 --- a/libavutil/murmur3.h +++ b/libavutil/murmur3.h @@ -29,6 +29,8 @@ #include <stdint.h> +#include "version.h" + /** * @defgroup lavu_murmur3 Murmur3 * @ingroup lavu_hash @@ -97,7 +99,11 @@ void av_murmur3_init(struct AVMurMur3 *c); * @param[in] src Input data to update hash with * @param[in] len Number of bytes to read from `src` */ +#if FF_API_CRYPTO_SIZE_T void av_murmur3_update(struct AVMurMur3 *c, const uint8_t *src, int len); +#else +void av_murmur3_update(struct AVMurMur3 *c, const uint8_t *src, size_t len); +#endif /** * Finish hashing and output digest value. |