X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fmd5.h;h=29e4e7c2ba2de901647f9cd12538be791fff4864;hb=ecb918e5f0a4395468862b5fbd11a51de9be3d4f;hp=c5b858a24b9f8fee31b56a3a62e1533fda9b9a04;hpb=7181c4edee636beaf520344766ae5bd8a9d9d15a;p=ffmpeg diff --git a/libavutil/md5.h b/libavutil/md5.h index c5b858a24b9..29e4e7c2ba2 100644 --- a/libavutil/md5.h +++ b/libavutil/md5.h @@ -23,16 +23,22 @@ #include +#include "attributes.h" +#include "version.h" + /** * @defgroup lavu_md5 MD5 * @ingroup lavu_crypto * @{ */ -extern const int av_md5_size; +#if FF_API_CONTEXT_SIZE +extern attribute_deprecated const int av_md5_size; +#endif struct AVMD5; +struct AVMD5 *av_md5_alloc(void); void av_md5_init(struct AVMD5 *ctx); void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len); void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);