]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hash.c
avutil: Switch crypto APIs to size_t
[ffmpeg] / libavutil / hash.c
index d626c31181923b888592644bbe4160685da4c826..9a49748189c958052076c9581d809c6cedefdd4a 100644 (file)
@@ -157,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;