X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fhash.h;h=930d2d6cde4e95a8771a04054f11e6e4d2e56715;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=7693e6bf0dbca59d878755c786a38c11647e5848;hpb=5c1aafff2d844b177b0b20db4a38d8460992558b;p=ffmpeg diff --git a/libavutil/hash.h b/libavutil/hash.h index 7693e6bf0db..930d2d6cde4 100644 --- a/libavutil/hash.h +++ b/libavutil/hash.h @@ -27,6 +27,7 @@ #ifndef AVUTIL_HASH_H #define AVUTIL_HASH_H +#include #include #include "version.h" @@ -181,11 +182,7 @@ 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.