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/ripemd.c | |
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/ripemd.c')
-rw-r--r-- | libavutil/ripemd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/ripemd.c b/libavutil/ripemd.c index b0db2970db..4f1c4ea899 100644 --- a/libavutil/ripemd.c +++ b/libavutil/ripemd.c @@ -510,7 +510,11 @@ av_cold int av_ripemd_init(AVRIPEMD *ctx, int bits) return 0; } +#if FF_API_CRYPTO_SIZE_T void av_ripemd_update(AVRIPEMD* ctx, const uint8_t* data, unsigned int len) +#else +void av_ripemd_update(AVRIPEMD* ctx, const uint8_t* data, size_t len) +#endif { unsigned int i, j; |