diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-05-05 13:21:39 +0200 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-05-05 13:24:35 +0200 |
commit | fcc4ed1efa1a7575dc45fe57ce552af331941469 (patch) | |
tree | 0fb296c74a93b46bfa93ce963541656bad3f5041 /libavutil/sha512.c | |
parent | 651ee9346105b9d492e01172ab447c04d03fa32e (diff) | |
download | ffmpeg-fcc4ed1efa1a7575dc45fe57ce552af331941469.tar.gz |
lavu/sha512: update length argument following sha+md5 changes
Diffstat (limited to 'libavutil/sha512.c')
-rw-r--r-- | libavutil/sha512.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/sha512.c b/libavutil/sha512.c index 2c5da25591..6d092a7c5c 100644 --- a/libavutil/sha512.c +++ b/libavutil/sha512.c @@ -239,7 +239,11 @@ av_cold int av_sha512_init(AVSHA512 *ctx, int bits) return 0; } +#if FF_API_CRYPTO_SIZE_T void av_sha512_update(AVSHA512* ctx, const uint8_t* data, unsigned int len) +#else +void av_sha512_update(AVSHA512* ctx, const uint8_t* data, size_t len) +#endif { unsigned int i, j; |