X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fhash.c;h=9a49748189c958052076c9581d809c6cedefdd4a;hb=a240097ecd4fb1639db99e7becb888ae478405cd;hp=75edb6db78865263d89aa4bf1418f31b910d650e;hpb=f8377ffce35251bba043aeda5d81df0d411a0595;p=ffmpeg diff --git a/libavutil/hash.c b/libavutil/hash.c index 75edb6db788..9a49748189c 100644 --- a/libavutil/hash.c +++ b/libavutil/hash.c @@ -17,6 +17,8 @@ * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + +#include #include #include "hash.h" @@ -155,11 +157,7 @@ void av_hash_init(AVHashContext *ctx) } } -#if FF_API_CRYPTO_SIZE_T -void av_hash_update(AVHashContext *ctx, const uint8_t *src, int len) -#else void av_hash_update(AVHashContext *ctx, const uint8_t *src, size_t len) -#endif { switch (ctx->type) { case MD5: av_md5_update(ctx->ctx, src, len); break;