diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-05-05 13:04:24 +0200 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-05-05 13:04:38 +0200 |
commit | 651ee9346105b9d492e01172ab447c04d03fa32e (patch) | |
tree | e0aa99cb1538dd8198ea50e0bf3c4fb57d489177 /libavutil/sha.c | |
parent | 20e72faef6946cde8e59981ef511b824a01c5adb (diff) | |
parent | e435beb1ea5380a90774dbf51fdc8c941e486551 (diff) | |
download | ffmpeg-651ee9346105b9d492e01172ab447c04d03fa32e.tar.gz |
Merge commit 'e435beb1ea5380a90774dbf51fdc8c941e486551'
* commit 'e435beb1ea5380a90774dbf51fdc8c941e486551':
crypto: consistently use size_t as type for length parameters
Merged-by: Clément Bœsch <cboesch@gopro.com>
Diffstat (limited to 'libavutil/sha.c')
-rw-r--r-- | libavutil/sha.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c index 5b42ccf1b2..ef6fa44227 100644 --- a/libavutil/sha.c +++ b/libavutil/sha.c @@ -311,7 +311,11 @@ av_cold int av_sha_init(AVSHA *ctx, int bits) return 0; } -void av_sha_update(AVSHA* ctx, const uint8_t* data, unsigned int len) +#if FF_API_CRYPTO_SIZE_T +void av_sha_update(struct AVSHA *ctx, const uint8_t *data, unsigned int len) +#else +void av_sha_update(struct AVSHA *ctx, const uint8_t *data, size_t len) +#endif { unsigned int i, j; |