summaryrefslogtreecommitdiff
path: root/ffmpeg/linux-x86_64/include/libavutil/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/linux-x86_64/include/libavutil/hash.h')
-rw-r--r--ffmpeg/linux-x86_64/include/libavutil/hash.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ffmpeg/linux-x86_64/include/libavutil/hash.h b/ffmpeg/linux-x86_64/include/libavutil/hash.h
index a20b893..af4719e 100644
--- a/ffmpeg/linux-x86_64/include/libavutil/hash.h
+++ b/ffmpeg/linux-x86_64/include/libavutil/hash.h
@@ -27,8 +27,11 @@
#ifndef AVUTIL_HASH_H
#define AVUTIL_HASH_H
+#include <stddef.h>
#include <stdint.h>
+#include "version.h"
+
/**
* @defgroup lavu_hash Hash Functions
* @ingroup lavu_crypto
@@ -179,7 +182,11 @@ void av_hash_init(struct AVHashContext *ctx);
* @param[in] src Data to be added to the hash context
* @param[in] len Size of the additional data
*/
+#if FF_API_CRYPTO_SIZE_T
void av_hash_update(struct AVHashContext *ctx, const uint8_t *src, int len);
+#else
+void av_hash_update(struct AVHashContext *ctx, const uint8_t *src, size_t len);
+#endif
/**
* Finalize a hash context and compute the actual hash value.