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