X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fhash.h;h=930d2d6cde4e95a8771a04054f11e6e4d2e56715;hb=a240097ecd4fb1639db99e7becb888ae478405cd;hp=7693e6bf0dbca59d878755c786a38c11647e5848;hpb=bad70b7af6b909691f5389e14eb7d0c03db10af9;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.